|
|
@ -14,21 +14,25 @@ jobs: |
|
|
|
exclude: |
|
|
|
exclude: |
|
|
|
- arch: x86 |
|
|
|
- arch: x86 |
|
|
|
os: macos |
|
|
|
os: macos |
|
|
|
- arch: x86 |
|
|
|
|
|
|
|
os: ubuntu |
|
|
|
|
|
|
|
runs-on: ${{ matrix.os }}-latest |
|
|
|
runs-on: ${{ matrix.os }}-latest |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/setup-java@v3 |
|
|
|
- uses: actions/setup-java@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
distribution: temurin |
|
|
|
distribution: zulu |
|
|
|
java-version: 11 |
|
|
|
java-version: 11 |
|
|
|
architecture: ${{ matrix.arch }} |
|
|
|
architecture: ${{ matrix.arch }} |
|
|
|
cache: maven |
|
|
|
cache: maven |
|
|
|
- if: matrix.os == 'ubuntu' |
|
|
|
- if: matrix.os == 'ubuntu' && matrix.arch == 'x64' |
|
|
|
uses: awalsh128/cache-apt-pkgs-action@v1 |
|
|
|
uses: awalsh128/cache-apt-pkgs-action@v1 |
|
|
|
with: |
|
|
|
with: |
|
|
|
packages: libgl1-mesa-dev |
|
|
|
packages: libgl1-mesa-dev |
|
|
|
|
|
|
|
- if: matrix.os == 'ubuntu' && matrix.arch == 'x86' |
|
|
|
|
|
|
|
run: sudo dpkg --add-architecture i386 && sudo apt update |
|
|
|
|
|
|
|
- if: matrix.os == 'ubuntu' && matrix.arch == 'x86' |
|
|
|
|
|
|
|
uses: awalsh128/cache-apt-pkgs-action@v1 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
packages: libgl1-mesa-dev:i386 gcc-multilib |
|
|
|
- if: matrix.os == 'windows' |
|
|
|
- if: matrix.os == 'windows' |
|
|
|
uses: ilammy/msvc-dev-cmd@v1 |
|
|
|
uses: ilammy/msvc-dev-cmd@v1 |
|
|
|
with: |
|
|
|
with: |
|
|
|