Skip to content

Commit

Permalink
And Linux and macOS HL workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
Apprentice-Alchemist committed Nov 29, 2022
1 parent f3abec2 commit 113bcee
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/linux-hl-opengl.yml
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
25 changes: 25 additions & 0 deletions .github/workflows/macos-hl-metal.yml
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

0 comments on commit 113bcee

Please sign in to comment.