From 113bcee2f7f6407b7591fdbe04f147c8de264d4f Mon Sep 17 00:00:00 2001 From: Apprentice-Alchemist <53486764+Apprentice-Alchemist@users.noreply.github.com> Date: Tue, 29 Nov 2022 11:46:32 +0100 Subject: [PATCH] And Linux and macOS HL workflows. --- .github/workflows/linux-hl-opengl.yml | 29 +++++++++++++++++++++++++++ .github/workflows/macos-hl-metal.yml | 25 +++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 .github/workflows/linux-hl-opengl.yml create mode 100644 .github/workflows/macos-hl-metal.yml diff --git a/.github/workflows/linux-hl-opengl.yml b/.github/workflows/linux-hl-opengl.yml new file mode 100644 index 000000000..8b278698b --- /dev/null +++ b/.github/workflows/linux-hl-opengl.yml @@ -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 diff --git a/.github/workflows/macos-hl-metal.yml b/.github/workflows/macos-hl-metal.yml new file mode 100644 index 000000000..2edea5401 --- /dev/null +++ b/.github/workflows/macos-hl-metal.yml @@ -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