-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
f3abec2
commit 113bcee
Showing
2 changed files
with
54 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Linux (HL, OpenGL) | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Apt Update | ||
run: sudo apt-get update | ||
- name: Apt Install | ||
run: sudo apt-get install libasound2-dev libxinerama-dev libxrandr-dev libgl1-mesa-dev libxi-dev libxcursor-dev libudev-dev libwayland-dev wayland-protocols libxkbcommon-dev --yes --quiet | ||
- name: Get DLC | ||
run: ./get_dlc | ||
- name: Get Node.js | ||
run: git clone https://github.com/Kode/nodejs_bin.git --depth 1 | ||
- name: Setup Node.js | ||
run: nodejs_bin/copysysbin.sh | ||
- name: Compile | ||
run: nodejs_bin/node make.js linux-hl -g opengl --kha . --from Tests/Empty --compile |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: macOS (HL, Metal) | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: macOS-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Get DLC | ||
run: ./get_dlc | ||
- name: Get Node.js | ||
run: git clone https://github.com/Kode/nodejs_bin.git --depth 1 | ||
- name: Setup Node.js | ||
run: nodejs_bin/copysysbin.sh | ||
- name: Compile | ||
run: nodejs_bin/node make.js osx-hl -g metal --kha . --from Tests/Empty --compile |