mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 09:25:44 +01:00
remove usage of cross compilation because it's borked. (thanks microsoft!!)
This commit is contained in:
22
.github/workflows/ci.yaml
vendored
22
.github/workflows/ci.yaml
vendored
@@ -17,7 +17,10 @@ jobs:
|
|||||||
# the mega job containing all things we need to do, since setting up a single system is more efficient than installing the same stuff on multiple ones
|
# the mega job containing all things we need to do, since setting up a single system is more efficient than installing the same stuff on multiple ones
|
||||||
#
|
#
|
||||||
exec-ci-tasks:
|
exec-ci-tasks:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest, windows-latest]
|
||||||
steps:
|
steps:
|
||||||
# general setup
|
# general setup
|
||||||
- name: checkout main branch
|
- name: checkout main branch
|
||||||
@@ -27,7 +30,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
repository: microsoft/vcpkg
|
repository: microsoft/vcpkg
|
||||||
path: ${{env.VCPKG_ROOT}}
|
path: ${{env.VCPKG_ROOT}}
|
||||||
- run: . "$VCPKG_ROOT/bootstrap-vcpkg.sh"
|
|
||||||
|
|
||||||
- name: get library data
|
- name: get library data
|
||||||
id: libdat
|
id: libdat
|
||||||
@@ -38,20 +40,16 @@ jobs:
|
|||||||
id: vcpkg-cache
|
id: vcpkg-cache
|
||||||
with:
|
with:
|
||||||
path: vcpkg_installed
|
path: vcpkg_installed
|
||||||
key: ${{steps.libdat.outputs.LIBS_HASH}}
|
key: ${{matrix.os}}-${{steps.libdat.outputs.LIBS_HASH}}
|
||||||
restore-keys: vcpkg_installed-
|
restore-keys: ${{matrix.os}}-vcpkg_installed-
|
||||||
|
|
||||||
# setup vcpkg if the cache didn't hit
|
# setup vcpkg if the cache didn't hit
|
||||||
- name: install vcpkg dependencies
|
- name: install vcpkg dependencies
|
||||||
if: steps.vcpkg-cache.outputs.cache-hit != 'true'
|
if: steps.vcpkg-cache.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
"$VCPKG_ROOT/vcpkg" install --triplet=x64-linux-dynamic
|
"$VCPKG_ROOT/bootstrap-vcpkg.sh"
|
||||||
"$VCPKG_ROOT/vcpkg" install --triplet=x64-mingw-static
|
"$VCPKG_ROOT/vcpkg" install
|
||||||
|
|
||||||
# perform continuous integration actions
|
# perform continuous integration actions
|
||||||
- run: make x86_64-linux-gnu-gcc CALL=compile -j
|
- run: make compile -j
|
||||||
- run: make x86_64-w64-mingw32-gcc CALL=compile -j
|
- run: make run DEBUG=test -j
|
||||||
- run: make x86_64-linux-gnu-gcc CALL=run DEBUG=test -j
|
|
||||||
- run: make x86_64-w64-mingw32-gcc CALL=run DEBUG=test -j
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user