Skip to content

Commit

Permalink
ci: add openssl lib for macos build
Browse files Browse the repository at this point in the history
  • Loading branch information
shiipou committed Sep 5, 2024
1 parent 0d05e84 commit 0a4ad15
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 18 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,20 @@ jobs:
- target: aarch64-unknown-linux-musl
os: linux
arch: aarch64
runner: ubuntu-20.04
runner: ubuntu-latest
- target: x86_64-unknown-linux-musl
os: linux
arch: x86_64
runner: ubuntu-20.04
runner: ubuntu-latest
- target: x86_64-pc-windows-msvc
os: windows
arch: x86_64
runner: windows-2022
runner: windows-latest
file_extension: '.exe'
- target: aarch64-pc-windows-msvc
os: windows
arch: aarch64
runner: windows-2022
runner: windows-latest
file_extension: '.exe'
- target: x86_64-apple-darwin
os: macos
Expand Down Expand Up @@ -85,13 +85,13 @@ jobs:

- name: Rename artifact to platform specific name
run: |
mv target/${{ matrix.target }}/release/dofigen${{ matrix.file_extension }} ./dofigen-${{ matrix.os }}-${{ matrix.arch }}${{ matrix.file_extension }}
mv target/${{ matrix.target }}/release/clone${{ matrix.file_extension }} ./clone-${{ matrix.os }}-${{ matrix.arch }}${{ matrix.file_extension }}
- name: Upload
uses: actions/upload-artifact@v3
with:
name: dofigen-${{ matrix.os }}-${{ matrix.arch }}
path: ./dofigen-${{ matrix.os }}-${{ matrix.arch }}${{ matrix.file_extension }}
name: clone-${{ matrix.os }}-${{ matrix.arch }}
path: ./clone-${{ matrix.os }}-${{ matrix.arch }}${{ matrix.file_extension }}

release:
needs: [ get-version, build ]
Expand Down
68 changes: 58 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ serde_json = "1.0"
toml = "0.8"
git2 = "0.19"
auth-git2 = "0.5"
shellexpand = "3.1"
regex = "1.10"
openssl = { version = "0.10", features = ["vendored"] }

0 comments on commit 0a4ad15

Please sign in to comment.