Skip to content

Commit

Permalink
.github/workflows/build.yaml: Compile with clang
Browse files Browse the repository at this point in the history
  • Loading branch information
WolframRhodium committed Jan 17, 2022
1 parent 8c87664 commit d181117
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,23 @@ jobs:
uses: ilammy/msvc-dev-cmd@v1
with:
arch: ${{ matrix.arch }}

- name: Install pkg-config lite
run: choco install pkgconfiglite

- name: Meson setup
run: meson setup builddir/ -Db_vscrt=mt -Dpkg_config_path=${{ github.workspace }}/vcpkg/installed/x64-windows-static/lib/pkgconfig
env:
CXX: clang-cl
CXXFLAGS: "-mavx -mfma -Xclang -ffast-math"

- name: Meson compile
run: meson compile -C builddir/ -v

- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: release-${{matrix.arch}}
path: |
builddir/*.dll

0 comments on commit d181117

Please sign in to comment.