This repository has been archived by the owner on Sep 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
30 additions
and
15 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,22 @@ | ||
name: Build FreeBSD | ||
on: [push] | ||
jobs: | ||
build-and-deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: 'true' | ||
- name: Build | ||
id: test | ||
uses: vmactions/freebsd-vm@v1 | ||
with: | ||
usesh: true | ||
prepare: | | ||
pkg install -y curl cmake libX11 libXi libXrandr libXinerama libXcursor libglvnd alsa-lib | ||
pkg install -y cmake libX11 libXi libXrandr libXinerama libXcursor libglvnd alsa-lib | ||
run: | | ||
cmake -B build -GNinja | ||
cmake -B build | ||
cmake --build build --config Release | ||
- name: Release | ||
uses: actions/upload-artifact@v2 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
name: Build Linux | ||
on: [push] | ||
jobs: | ||
build-and-deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: 'true' | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y libx11-dev libxi-dev libxrandr-dev libxinerama-dev libxcursor-dev | ||
sudo apt-get install -y libgl1-mesa-dev libegl1-mesa-dev libasound2-dev | ||
- name: Build | ||
run: | | ||
cmake -B build -GNinja | ||
cmake -B build | ||
cmake --build build --config Release | ||
- name: Release | ||
uses: actions/upload-artifact@v2 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
name: Build macOS | ||
on: [push] | ||
jobs: | ||
build-and-deploy: | ||
runs-on: macos-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: 'true' | ||
- name: Build | ||
run: | | ||
cmake -B build -GNinja | ||
cmake --build build--config Release | ||
cmake -B build | ||
cmake --build build --config Release | ||
- name: Build DMG | ||
run: | | ||
cd build | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
name: Build Windows | ||
on: [push] | ||
jobs: | ||
build-and-deploy: | ||
runs-on: windows-2019 | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: 'true' | ||
- name: Get latest CMake and ninja | ||
uses: lukka/get-cmake@latest | ||
- name: Build | ||
run: | | ||
cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.19041.0 -B build | ||
cmake -G "Visual Studio 16 2019" -A x64 -B build | ||
cmake --build build --config Release | ||
- name: Release | ||
uses: actions/upload-artifact@v2 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,9 @@ jobs: | |
runs-on: macos-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: 'true' | ||
- name: Build | ||
run: | | ||
cmake -GXcode -DSOKOL_BACKEND=SOKOL_METAL -DCMAKE_SYSTEM_NAME=iOS -B build | ||
|
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
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
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