Explicitly manually set UTC as localtime in SteamOS builds #110
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: Unit Tests / Required / Dynamic / Linux | |
on: | |
pull_request: | |
merge_group: | |
jobs: | |
test: | |
name: Ubuntu | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
build-type: | |
- Release | |
- Debug | |
steps: | |
- name: Install Dependencies | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
run: | | |
sudo apt-get -qq update | |
sudo apt-get -qq upgrade -y | |
sudo apt-get -qq install -y --no-install-recommends \ | |
ca-certificates \ | |
git \ | |
clang \ | |
cmake \ | |
make \ | |
ccache \ | |
libboost-dev \ | |
libboost-filesystem-dev \ | |
libboost-locale-dev \ | |
libboost-regex-dev \ | |
libboost-system-dev \ | |
libcairo2-dev \ | |
libglew-dev \ | |
libglm-dev \ | |
libsdl2-dev \ | |
libsdl2-image-dev \ | |
libsdl2-mixer-dev \ | |
libsdl2-ttf-dev \ | |
libvorbis-dev | |
- name: Checkout Anura | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
submodules: true | |
- name: Set ccache up | |
uses: hendrikmuhs/ccache-action@ed74d11c0b343532753ecead8a951bb09bb34bc9 # v1.2.14 | |
with: | |
key: unit-tests-linux-${{ matrix.build-type }} | |
- name: Build Prep Anura | |
run: | | |
cmake . \ | |
-D CMAKE_CXX_COMPILER='clang++' \ | |
-D CMAKE_BUILD_TYPE="${{ matrix.build-type }}" | |
- name: Build Anura | |
run: | | |
# Compile with number of available hyperthreads | |
make -j "$(getconf _NPROCESSORS_ONLN)" | |
- name: Run Unit Tests | |
run: ./anura --tests |