-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2b22a06
commit ffb6a3e
Showing
2 changed files
with
30 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
on: | ||
- push | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
- name: Install MinGW x86-64 compiler | ||
run: apt install -y g++-mingw-w64-x86-64 | ||
- name: Install JDK | ||
run: apt install -y openjdk-8-jdk | ||
- name: Check if input.jar exists | ||
id: check_input_jar | ||
uses: andstor/file-existence-action@v1 | ||
with: | ||
files: input.jar | ||
- name: Copy test if input.jar does not exist | ||
if: steps.check_input_jar.outputs.files_exists == 'false' | ||
run: | | ||
echo "::warning file=input.jar::No input.jar presented, so using input.jar.test" | ||
cp input.jar.test input.jar | ||
- name: Build | ||
run: make build | ||
- name: Upload output.dll as artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: output-x64.dll | ||
path: output.dll | ||
if-no-files-found: error |
Binary file not shown.