Update before_install script in .travis.yml #200
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: Linux GCC | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
submodules: true | |
- name: Setup | |
run: | | |
sudo apt update | |
sudo apt-get install build-essential automake autoconf autoconf-archive texinfo libtool-bin yasm ninja-build ccache | |
- name: Setup GCC | |
uses: pkgxdev/setup@v1 | |
with: | |
+: gcc@13 | |
- run: gcc --version | |
- name: Restore artifacts or setup vcpkg | |
uses: lukka/run-vcpkg@v11 | |
with: | |
vcpkgGitCommitId: 01acfdfde3ed99280d3883a8fccd5fa4408f5214 | |
- name: Configure | |
run: cmake --preset=build | |
- name: Build | |
run: cmake --build build -j 2 | |
- name: Test | |
working-directory: build | |
continue-on-error: true | |
run: ctest --rerun-failed --output-on-failure -j 2 |