Skip to content

Commit

Permalink
Merge pull request #60 from CoLearn-Dev/pom-updates
Browse files Browse the repository at this point in the history
POM: change storage location; pull docker image
  • Loading branch information
stneng committed Jun 27, 2023
2 parents c5932a9 + 9d7a81b commit 215ddb9
Show file tree
Hide file tree
Showing 9 changed files with 323 additions and 449 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,17 @@ jobs:
with:
submodules: recursive
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
target: ${{ matrix.cargo_target }}
run: |
rustup target add ${{ matrix.cargo_target }}
- name: Install protobuf
if: ${{ startsWith(matrix.ci_image, 'ubuntu') }}
run: sudo apt update && sudo apt install protobuf-compiler -y
- name: Install protobuf(macos)
if: ${{ startsWith(matrix.ci_image, 'macos') }}
run: brew install protobuf
- name: Install musl
if: ${{ endsWith(matrix.cargo_target, 'musl') }}
run: sudo apt update && sudo apt install musl-tools
run: sudo apt update && sudo apt install musl-tools -y
- name: Build
run: cargo build --release --target ${{ matrix.cargo_target }}
- name: Pack
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@ jobs:
with:
submodules: recursive
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
components: rustfmt, clippy
run: |
rustup component add rustfmt
rustup component add clippy
- name: Install protobuf
run: sudo apt update && sudo apt install protobuf-compiler -y
- name: Check
run: cargo check --release --locked
- name: Build
Expand Down
Loading

0 comments on commit 215ddb9

Please sign in to comment.