Skip to content

fix(ci): syntax

fix(ci): syntax #7

Workflow file for this run

on:
workflow_dispatch:
push:
branches: ["**"]
paths-ignore:
- "**/*.md"
name: 📦 Build
jobs:
build:
runs-on: ubuntu-latest
container: archlinux:base-devel
strategy:
fail-fast: false
matrix:
language: ["cpp"]
arch: ["x86", "x64"]
proxy: ["ON", "OFF"]
steps:
- name: 📥 Checkout
uses: actions/checkout@v3
- name: 🧰 Build Dependencies
run: "pacman --noconfirm -Syu cmake gcc git make mingw-w64"
- name: 🔧 Compile
run: |
cmake -B build -DPROFUI_PATCH_PROXY=${{ matrix.proxy }} -DCMAKE_TOOLCHAIN_FILE=cmake/mingw-${{ matrix.arch }}.cmake
cmake --build build --config Release
- name: 📤 Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.proxy == 'ON' && 'proxy' || 'injection' }}-${{ matrix.arch }}
path: |
build/*.dll