fix compile error on later versions of glm #177
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: Arch Linux | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Pull Docker Image | |
run: docker pull archlinux:base-devel | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Run Steps in New Container | |
run: | | |
docker run --rm -v ${{ github.workspace }}:/app archlinux:base-devel bash -c ' | |
# Install build deps | |
pacman -Syu cmake shaderc glfw-x11 glm stb sdl2 assimp --noconfirm | |
# Run Build | |
cd /app && mkdir build && cd build | |
cmake .. | |
make | |
' | |
# Additional commands within the container if needed | |