add gsfs support, delete a lot of dead code, integrate jaeger tracing… #64
This file contains 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-and-push | |
on: | |
push: | |
workflow_dispatch: | |
schedule: [cron: "0 11 * * *"] # at 4am PST, 11am UTC | |
permissions: | |
contents: read | |
env: | |
RUSTFLAGS: -Dwarnings | |
CARGO_NET_GIT_FETCH_WITH_CLI: true | |
jobs: | |
test: | |
timeout-minutes: 30 | |
name: ${{format('Cargo {0}', matrix.rust)}} | |
# if: false | |
runs-on: self-hosted | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
# - rust: nightly | |
# - rust: beta | |
- rust: stable | |
# - rust: 1.74.0 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: "recursive" | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{matrix.rust}} | |
components: clippy, rustfmt | |
- uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | |
- name: work around Cargo.lock filetime not being updated..? | |
run: touch Cargo.lock | |
- run: ENABLE_GSFS=0 make update | |
- run: ENABLE_GSFS=0 make ci | |
- run: ENABLE_GSFS=1 make update | |
- run: ENABLE_GSFS=1 make ci | |
- run: ENABLE_GSFS=1 make push |