Skip to content

Commit

Permalink
ci: Added x86_64-linux-gnu build target job
Browse files Browse the repository at this point in the history
  • Loading branch information
orlowskilp committed Oct 12, 2024
1 parent 18f474e commit 8357f8b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,17 @@ jobs:
files:
${{ env.LCOV_UT_OUT }}
# ${{ env.LCOV_IT_OUT }}
fail_ci_if_error: true
fail_ci_if_error: true

build-x86-gnu:
name: Build for x86_64-unknown-linux-gnu
env:
TOOL_CHAIN : x86_64-unknown-linux-gnu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Build for ${{ env.TOOL_CHAIN }}
env:
ARGS: --target=${{ env.TOOL_CHAIN }}
run: make ARGS=${{ env.ARGS }} build
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.PHONY: build
build:
cargo build --release
cargo build $(ARGS) --release

.PHONY: doc
doc:
Expand Down

0 comments on commit 8357f8b

Please sign in to comment.