Try to fix version printing. #1306
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
cpp: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # needed for tags for `git describe --tags` | |
- uses: ./.github/workflows/install-pinned-toolchains | |
- run: make build/bin/twsearch | |
- run: ./build/bin/twsearch -g samples/main/2x2x2.tws | |
- run: make test-cpp-cli | |
cpp-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # needed for tags for `git describe --tags` | |
- uses: ./.github/workflows/install-pinned-toolchains | |
- run: make build/bin/twsearch | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: twsearch-cpp-windows | |
path: build/bin/ | |
cpp-wrapper-cli: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # needed for tags for `git describe --tags` | |
- uses: ./.github/workflows/install-pinned-toolchains | |
- uses: Swatinem/rust-cache@v2 | |
- run: make test-twsearch-cpp-wrapper-cli | |
rust: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # needed for tags for `git describe --tags` | |
- uses: ./.github/workflows/install-pinned-toolchains | |
- uses: Swatinem/rust-cache@v2 | |
- run: make build-rust | |
- run: make test-rust-lib | |
- run: make test-rust-examples | |
- run: make lint-rust | |
- run: make benchmark-rust | |
rust-ffi: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # needed for tags for `git describe --tags` | |
- uses: ./.github/workflows/install-pinned-toolchains | |
- uses: Swatinem/rust-cache@v2 | |
- run: make build-rust-ffi | |
- run: make test-rust-ffi | |
rust-wasm: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # needed for tags for `git describe --tags` | |
- uses: ./.github/workflows/install-pinned-toolchains | |
- uses: Swatinem/rust-cache@v2 | |
- run: make setup | |
- run: make build-rust-wasm | |
- run: make test-rust-wasm | |
rust-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # needed for tags for `git describe --tags` | |
- uses: ./.github/workflows/install-pinned-toolchains | |
- uses: Swatinem/rust-cache@v2 | |
- run: make setup | |
- run: make build-rust | |
- run: make benchmark-rust | |
lint-js: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # needed for tags for `git describe --tags` | |
- uses: ./.github/workflows/install-pinned-toolchains | |
- run: make setup | |
- run: make lint-js |