Skip to content

Commit

Permalink
add container to linux release def (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdb authored Nov 18, 2023
1 parent f061ea8 commit e797686
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/release-linux.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create release, build and upload artifacts
name: Create release, build and upload artifacts (Linux)

permissions:
contents: write
Expand All @@ -17,6 +17,17 @@ jobs:
fail-fast: true
matrix:
arch: [x86_64, aarch64]
container:
image: rust:1-bookworm
env:
PKG_CONFIG_ALLOW_CROSS: 1
PKG_CONFIG_PATH: /usr/lib/${{ matrix.arch }}-linux-gnu/pkgconfig/:${PKG_CONFIG_PATH}
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc
AR_aarch64_unknown_linux_gnu: aarch64-linux-gnu-ar
CC_aarch64_unknown_linux_gnu: aarch64-linux-gnu-gcc
CXX_aarch64_unknown_linux_gnu: aarch64-linux-gnu-g++
env:
RUST_BACKTRACE: full
steps:
- name: Checkout Repository
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-macos.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create release, build and upload artifacts
name: Create release, build and upload artifacts (MacOS)

permissions:
contents: write
Expand Down

0 comments on commit e797686

Please sign in to comment.