-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
But disable linux build, because SQFVM throws error
- Loading branch information
Showing
1 changed file
with
138 additions
and
138 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 |
---|---|---|
@@ -1,138 +1,138 @@ | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test-configs: | ||
name: Archive test configs | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Git checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Archive test configs | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: test configs | ||
path: test/*.json | ||
if-no-files-found: error | ||
|
||
linux-build: | ||
name: Linux build | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Git checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo add-apt-repository ppa:ubuntu-toolchain-r/test | ||
sudo apt-get update | ||
sudo apt-get install -y gcc-11 g++-11 | ||
sudo apt-get remove -y libtbb-dev | ||
- name: Build Linux 64 bit | ||
run: mkdir build-linux64 && cd build-linux64 && cmake .. && cmake --build . --config Release --parallel 2 | ||
env: | ||
CC: gcc-11 | ||
CXX: g++-11 | ||
|
||
- name: Upload Linux 64 bit | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: Linux x64 | ||
path: release | ||
if-no-files-found: error | ||
|
||
windows-build: | ||
name: Windows build | ||
runs-on: windows-2019 | ||
steps: | ||
- name: Git checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
|
||
- name: Build Windows 64 bit | ||
run: mkdir build-win64 && cd build-win64 && cmake -DCMAKE_BUILD_TYPE=Release -G "Visual Studio 16 2019" -A x64 .. && cmake --build . --config Release | ||
|
||
- name: Upload Windows 64 bit | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: Windows x64 | ||
path: Release | ||
if-no-files-found: error | ||
|
||
windows-test-ace3: | ||
name: Windows test ACE3 | ||
runs-on: windows-2019 | ||
needs: | ||
- test-configs | ||
- windows-build | ||
steps: | ||
- name: Git checkout ACE3 | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: acemod/ACE3 | ||
path: z/ace | ||
|
||
- name: Git checkout CBA A3 | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: CBATeam/CBA_A3 | ||
path: x/cba | ||
|
||
- name: Download test configs | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: test configs | ||
|
||
- name: Download ArmaScriptCompiler artifact | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: Windows x64 | ||
|
||
- name: Setup build folder | ||
run: | | ||
xcopy z\ace\include\a3 a3 /s /e /h /i | ||
copy ace3.json sqfc.json | ||
- name: Compile ACE3 | ||
run: | | ||
subst P: . | ||
Release\ArmaScriptCompiler.exe | ||
windows-test-cba-a3: | ||
name: Windows test CBA A3 | ||
runs-on: windows-2019 | ||
needs: | ||
- test-configs | ||
- windows-build | ||
steps: | ||
- name: Git checkout CBA A3 | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: CBATeam/CBA_A3 | ||
path: x/cba | ||
|
||
- name: Download test configs | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: test configs | ||
|
||
- name: Download ArmaScriptCompiler artifact | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: Windows x64 | ||
|
||
- name: Setup build folder | ||
run: | | ||
xcopy x\cba\include\a3 a3 /s /e /h /i | ||
copy cba_a3.json sqfc.json | ||
- name: Compile CBA A3 | ||
run: | | ||
subst P: . | ||
Release\ArmaScriptCompiler.exe | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test-configs: | ||
name: Archive test configs | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Git checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Archive test configs | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: test configs | ||
path: test/*.json | ||
if-no-files-found: error | ||
|
||
# linux-build: | ||
# name: Linux build | ||
# runs-on: ubuntu-22.04 | ||
# steps: | ||
# - name: Git checkout | ||
# uses: actions/checkout@v2 | ||
# with: | ||
# submodules: true | ||
# | ||
# - name: Install dependencies | ||
# run: | | ||
# sudo add-apt-repository ppa:ubuntu-toolchain-r/test | ||
# sudo apt-get update | ||
# sudo apt-get install -y gcc-13 g++-13 | ||
# sudo apt-get remove -y libtbb-dev | ||
# | ||
# - name: Build Linux 64 bit | ||
# run: mkdir build-linux64 && cd build-linux64 && cmake .. && cmake --build . --config Release --parallel 2 | ||
# env: | ||
# CC: gcc-13 | ||
# CXX: g++-13 | ||
# | ||
# - name: Upload Linux 64 bit | ||
# uses: actions/upload-artifact@v2 | ||
# with: | ||
# name: Linux x64 | ||
# path: release | ||
# if-no-files-found: error | ||
|
||
windows-build: | ||
name: Windows build | ||
runs-on: windows-2019 | ||
steps: | ||
- name: Git checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
|
||
- name: Build Windows 64 bit | ||
run: mkdir build-win64 && cd build-win64 && cmake -DCMAKE_BUILD_TYPE=Release -G "Visual Studio 16 2019" -A x64 .. && cmake --build . --config Release | ||
|
||
- name: Upload Windows 64 bit | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: Windows x64 | ||
path: Release | ||
if-no-files-found: error | ||
|
||
windows-test-ace3: | ||
name: Windows test ACE3 | ||
runs-on: windows-2019 | ||
needs: | ||
- test-configs | ||
- windows-build | ||
steps: | ||
- name: Git checkout ACE3 | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: acemod/ACE3 | ||
path: z/ace | ||
|
||
- name: Git checkout CBA A3 | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: CBATeam/CBA_A3 | ||
path: x/cba | ||
|
||
- name: Download test configs | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: test configs | ||
|
||
- name: Download ArmaScriptCompiler artifact | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: Windows x64 | ||
|
||
- name: Setup build folder | ||
run: | | ||
xcopy z\ace\include\a3 a3 /s /e /h /i | ||
copy ace3.json sqfc.json | ||
- name: Compile ACE3 | ||
run: | | ||
subst P: . | ||
Release\ArmaScriptCompiler.exe | ||
windows-test-cba-a3: | ||
name: Windows test CBA A3 | ||
runs-on: windows-2019 | ||
needs: | ||
- test-configs | ||
- windows-build | ||
steps: | ||
- name: Git checkout CBA A3 | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: CBATeam/CBA_A3 | ||
path: x/cba | ||
|
||
- name: Download test configs | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: test configs | ||
|
||
- name: Download ArmaScriptCompiler artifact | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: Windows x64 | ||
|
||
- name: Setup build folder | ||
run: | | ||
xcopy x\cba\include\a3 a3 /s /e /h /i | ||
copy cba_a3.json sqfc.json | ||
- name: Compile CBA A3 | ||
run: | | ||
subst P: . | ||
Release\ArmaScriptCompiler.exe |