new pricing #1438
Workflow file for this run
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
name: Native build | |
on: [push] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
bin: [peergos, peergos.exe] | |
exclude: | |
- os: ubuntu-latest | |
bin: peergos.exe | |
- os: windows-latest | |
bin: peergos | |
- os: macos-latest | |
bin: peergos.exe | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ilammy/msvc-dev-cmd@v1 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- name: Build with Ant | |
run: ant -noinput -buildfile build.xml peergos_submodule_sync dist | |
- name: Install GraalVM and native-image | |
shell: bash | |
run: cd native-build && java InstallNativeImage.java | |
- name: Build native image of Peergos | |
shell: bash | |
run: cd native-build && java BuildNativeImage.java | |
- name: Upload static binary artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ matrix.os }}-peergos | |
path: "./native-build/${{ matrix.bin }}" | |
# - name: Build Peergos installer | |
# shell: bash | |
# run: cd packager && java PackagePeergos.java | |
# - name: Upload package artifact | |
# uses: actions/upload-artifact@v2 | |
# with: | |
# name: ${{ env.artifact }} | |
# path: "./packager/${{ env.artifact }}" | |