-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
github actions update, fresh compiled library
- Loading branch information
Showing
7 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,34 @@ jobs: | |
with: | ||
website: jdk.java.net | ||
release: 22 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
|
||
- name: Build zylquinal/phc-winner-argon2 | ||
run: | | ||
git clone [email protected]:Zylquinal/phc-winner-argon2.git | ||
cd phc-winner-argon2 | ||
chmod +x ./build.sh | ||
docker run -v ${PWD}:/app ghcr.io/zylquinal/crosscompile-env:master /app/build.sh | ||
- name: Copy artifacts | ||
run: | | ||
mkdir -p src/main/resources | ||
mkdir -p src/main/resources/darwin-aarch64 | ||
mkdir -p src/main/resources/darwin-x86-64 | ||
mkdir -p src/main/resources/linux-aarch64 | ||
mkdir -p src/main/resources/linux-x86-64 | ||
mkdir -p src/main/resources/windows-aarch64 | ||
mkdir -p src/main/resources/windows-x86-64 | ||
cp -a phc-winner-argon2/dist/aarch64-apple/libargon2.1.dylib src/main/resources/darwin-aarch64/libargon2.dylib | ||
cp -a phc-winner-argon2/dist/x86_64-apple/libargon2.1.dylib src/main/resources/darwin-x86-64/libargon2.dylib | ||
cp -a phc-winner-argon2/dist/aarch64-linux/libargon2.so.1 src/main/resources/linux-aarch64/libargon2.so | ||
cp -a phc-winner-argon2/dist/x86_64-linux/libargon2.so.1 src/main/resources/linux-x86-64/libargon2.so | ||
cp -a phc-winner-argon2/dist/aarch64-windows/argon2.dll src/main/resources/windows-aarch64/argon2.dll | ||
cp -a phc-winner-argon2/dist/x86_64-windows/argon2.dll src/main/resources/windows-x86-64/argon2.dll | ||
- name: Build with Gradle | ||
uses: gradle/gradle-build-action@v2 | ||
with: | ||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.