Skip to content

Commit

Permalink
Fix CI build.
Browse files Browse the repository at this point in the history
  • Loading branch information
ibz committed Dec 29, 2024
1 parent 8d15960 commit febead7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,17 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt install -y pkg-config libssl-dev
- name: Checkout
uses: actions/checkout@v4
- name: Compile (musl)
id: compile
uses: rust-build/rust-build.action@v1.4.5
with:
RUSTTARGET: x86_64-unknown-linux-musl
UPLOAD_MODE: none
STATIC_LINKING: false
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,16 @@ jobs:
archive_type: zip
archive_name: servus-macos
steps:
- uses: actions/checkout@v4
- uses: rust-build/rust-build.action@v1.4.5
name: Compile and release
- name: Install dependencies
run: sudo apt install -y pkg-config libssl-dev
- name: Checkout
uses: actions/checkout@v4
- name: Compile and release
uses: rust-build/rust-build.action@v1.4.5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
STATIC_LINKING: false
RUSTTARGET: ${{ matrix.target }}
ARCHIVE_TYPES: ${{ matrix.archive_type }}
ARCHIVE_NAME: ${{ matrix.archive_name }}

0 comments on commit febead7

Please sign in to comment.