Skip to content

Fix CI and license #398

Fix CI and license

Fix CI and license #398

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup MSVC Developer Command Prompt
uses: TheMrMilchmann/setup-msvc-dev@v3.0.0
with:
arch: x86
- name: Download llvm-project-with-widberg-extensions
uses: suisei-cn/actions-download-file@v1.3.0
with:
url: "https://github.com/widberg/llvm-project-widberg-extensions/releases/download/widberg-21.1.0/widberg-21.1.0-windows-x86_64-affc3306571df779c1e54d34e6f919da52093067.zip"
- name: Unzip llvm-project-with-widberg-extensions
run: 7z x widberg-21.1.0-windows-x86_64-affc3306571df779c1e54d34e6f919da52093067.zip -obin
- name: Build
run: |
cmake -B build -GNinja -DWIDBERG_CLANG_CL="${{ github.workspace }}/bin/clang-cl.exe" -DCMAKE_BUILD_TYPE=RelWithDebInfo
cmake --build build --target package_fmtk --config RelWithDebInfo
- name: Archive Artifacts
uses: actions/upload-artifact@v3
with:
name: fmtk-${{ github.sha }}
path: |
build/fmtk.zip
build/fmtksdk.zip