fix: disable window resize #14
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: CI | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build_linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 | |
- name: Install dependencies | |
run: | | |
sudo apt update | |
sudo apt install -y libsfml-dev | |
- name: Build | |
run: | | |
mkdir build/ && cd build/ | |
cmake -DCMAKE_BUILD_TYPE=Release .. | |
make -j4 | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: SimpleNES-linux | |
path: build/SimpleNES | |
build_macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 | |
- name: Install dependencies | |
run: | | |
brew install sfml | |
- name: Build | |
run: | | |
mkdir build/ && cd build/ | |
cmake -DCMAKE_BUILD_TYPE=Release .. | |
make -j4 | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: SimpleNES-macos | |
path: build/SimpleNES | |
build_windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 | |
- name: Install dependencies | |
run: | | |
vcpkg install sfml | |
- name: Build | |
run: | | |
mkdir build/ && cd build/ | |
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake .. | |
cmake --build . | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: SimpleNES-win.exe | |
path: build/SimpleNES.exe |