File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and smoke test
2+ on :
3+ push :
4+ pull_request :
5+ workflow_dispatch :
6+ defaults :
7+ run :
8+ working-directory : ./client
9+ jobs :
10+ build-and-test :
11+ runs-on : ${{ matrix.os }}
12+ strategy :
13+ fail-fast : false
14+ matrix :
15+ os :
16+ - ubuntu-latest
17+ - ubuntu-24.04-arm
18+ - macos-latest # arm64
19+ - macos-13 # osx-64
20+ # Windows fails with internal compiler error
21+ # - windows-latest
22+ # - windows-11-arm
23+ steps :
24+ - name : Checkout code
25+ uses : actions/checkout@v4
26+ -
uses :
bazel-contrib/[email protected] 27+ with :
28+ bazelisk-cache : true
29+ disk-cache : ${{ github.workflow }}
30+ repository-cache : true
31+ - name : Add workdir to PATH
32+ run : |
33+ echo "$(pwd)" >> $GITHUB_PATH
34+ - name : Build
35+ run : bazel build apps/public/Datasets/...
36+ - name : Smoke test
37+ timeout-minutes : 10
38+ run : |
39+ cd bazel-bin/apps/public/Datasets/v2/cmd/datasets/datasets_ \
40+ && ./datasets --version \
41+ && ./datasets --help \
42+ && ./datasets download virus genome taxon 101947
43+ - name : Upload build artifacts
44+ uses : actions/upload-artifact@v4
45+ with :
46+ name : datasets-${{ matrix.os }}
47+ path : client/bazel-bin/apps/public/Datasets/v2/cmd/datasets/datasets_/datasets
You can’t perform that action at this time.
0 commit comments