mirror of
https://github.com/recp/cglm.git
synced 2025-10-03 08:41:55 +00:00
Update ci.yml
This commit is contained in:
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@@ -102,9 +102,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Add Ubuntu Toolchain PPA
|
||||||
|
if: matrix.target.os == 'ubuntu-20.04'
|
||||||
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y software-properties-common
|
||||||
|
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
||||||
|
sudo apt-get update
|
||||||
|
|
||||||
- name: Install Compiler and Ninja
|
- name: Install Compiler and Ninja
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -y
|
|
||||||
sudo apt-get install -y ${{ matrix.target.cc }} ninja-build
|
sudo apt-get install -y ${{ matrix.target.cc }} ninja-build
|
||||||
|
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
@@ -143,6 +150,13 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- uses: microsoft/setup-msbuild@v2
|
||||||
|
|
||||||
|
- name: Install Windows SDK for ARM
|
||||||
|
if: matrix.platform.name == 'Windows (ARM)' || matrix.platform.name == 'Windows (ARM64)'
|
||||||
|
run: |
|
||||||
|
choco install windows-sdk-10.0 -y --version=10.0.26100.0
|
||||||
|
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
run: cmake -B build `
|
run: cmake -B build `
|
||||||
-DCGLM_STATIC=ON `
|
-DCGLM_STATIC=ON `
|
||||||
|
Reference in New Issue
Block a user