Working on Github Actions

This commit is contained in:
Daniel Chappuis 2021-08-04 11:24:47 +02:00
parent 79dbaa524d
commit 42d67523eb

View File

@ -21,33 +21,27 @@ jobs:
- { - {
name: "Linux / GCC (Debug, Single Precision)", name: "Linux / GCC (Debug, Single Precision)",
os: ubuntu-latest, os: ubuntu-latest,
artifact: "ubuntu_gcc.7z",
build_type: "Debug", build_type: "Debug",
cc: "gcc", cc: "gcc",
cxx: "g++", cxx: "g++",
archiver: "7z a",
generators: "Ninja", generators: "Ninja",
double_precision: false double_precision: false
} }
- { - {
name: "Linux / GCC (Release, Single Precision)", name: "Linux / GCC (Release, Single Precision)",
os: ubuntu-latest, os: ubuntu-latest,
artifact: "ubuntu_gcc.7z",
build_type: "Release", build_type: "Release",
cc: "gcc", cc: "gcc",
cxx: "g++", cxx: "g++",
archiver: "7z a",
generators: "Ninja", generators: "Ninja",
double_precision: false double_precision: false
} }
- { - {
name: "Linux / Clang (Debug, Single Precision)", name: "Linux / Clang (Debug, Single Precision)",
os: ubuntu-latest, os: ubuntu-latest,
artifact: "ubuntu_gcc.7z",
build_type: "Debug", build_type: "Debug",
cc: "clang", cc: "clang",
cxx: "clang++", cxx: "clang++",
archiver: "7z a",
generators: "Ninja", generators: "Ninja",
double_precision: false double_precision: false
} }
@ -88,6 +82,9 @@ jobs:
- name: CMake Configure - name: CMake Configure
shell: bash shell: bash
env:
CC: ${{ matrix.config.cc }}
CXX: ${{ matrix.config.cxx }}
run: | run: |
mkdir build mkdir build
cmake \ cmake \