update github actions tests #1
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: Fedora | |
on: [push, pull_request, workflow_dispatch] | |
permissions: | |
contents: read | |
jobs: | |
fedora-cmake-gcc: | |
name: fedora | |
runs-on: ubuntu-latest | |
container: | |
image: fedora:latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: cat /etc/os-release | |
- name: Install dependencies | |
run: | | |
sudo dnf -y update | |
sudo dnf -y install gcc-c++ clang cmake make | |
sudo dnf upgrade | |
- name: Run tests | |
run: | | |
cd ./tests | |
chmod +x ./run_tests.sh | |
./run_tests.sh |