Skip to content

Commit

Permalink
Use gcc & msvc on Linux & Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiashienzsch committed May 11, 2024
1 parent 87c33bc commit c19b266
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ jobs:
- name: Linux
os: ubuntu-22.04
osx_target: ""
cxx_flags: "-march=x86-64-v3"
cxx_flags: "-march=x86-64-v2"

- name: macOS-X64
os: macos-13
osx_target: "10.15"
cxx_flags: "-march=x86-64-v3"
cxx_flags: "-march=x86-64-v2"
cmake_prefix_path: ""

- name: macOS-ARM64
Expand All @@ -48,7 +48,7 @@ jobs:
- name: Windows
os: windows-latest
osx_target: ""
cxx_flags: "-march=x86-64-v3"
cxx_flags: ""

steps:
- name: Checkout code
Expand All @@ -72,9 +72,15 @@ jobs:
shell: bash
run: choco install ninja ccache

- name: Install clang
if: runner.os != 'macOS'
uses: egor-tensin/setup-clang@v1
# - name: Install clang
# if: runner.os != 'macOS'
# uses: egor-tensin/setup-clang@v1

- name: Set up Visual Studio shell
if: runner.os == 'Windows'
uses: egor-tensin/vs-shell@v2
with:
arch: x64

- name: Install conan
run: |
Expand Down

0 comments on commit c19b266

Please sign in to comment.