Skip to content

Commit

Permalink
👷 Fix GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
RemiBardon committed Dec 31, 2023
1 parent 552567c commit 81dc95e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@ jobs:
key: ${{ runner.os }}-${{ matrix.target }}-cargo

- name: Precompile for ${{ matrix.target }}
working-directory: ./src/orangutan
run: rustup target add ${{ matrix.target }} && cargo build --release --bin orangutan-server --target ${{ matrix.target }}

- uses: actions/upload-artifact@v4
with:
name: orangutan-server-${{ matrix.target }}
path: target/${{ matrix.target }}/release/orangutan-server
path: src/orangutan/target/${{ matrix.target }}/release/orangutan-server
if-no-files-found: error
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ jobs:
key: ${{ runner.os }}-${{ matrix.target }}-cargo

- name: Test on ${{ matrix.target }}
working-directory: ./src/orangutan
run: cargo test

# TODO: Only check code style for one target
- name: Check code style
working-directory: ./src/orangutan
run: cargo fmt -- --check

0 comments on commit 81dc95e

Please sign in to comment.