Skip to content

Commit

Permalink
Pin CI VM images to specific version.
Browse files Browse the repository at this point in the history
  • Loading branch information
bkaradzic committed Oct 28, 2024
1 parent f6673d5 commit 8121036
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 12 deletions.
41 changes: 33 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
runs-on: windows-2022
steps:
- name: Checkout bx
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: bkaradzic/bx
path: bx
- name: Prepare
uses: microsoft/setup-msbuild@v1.1
uses: microsoft/setup-msbuild@v2
- name: Build
shell: cmd
run: |
Expand All @@ -47,10 +47,10 @@ jobs:
{ msystem: CLANG64, project: 'mingw-clang', bindir: 'win64_mingw-clang' },
]
name: mingw-${{ matrix.msystem }}
runs-on: windows-latest
runs-on: windows-2022
steps:
- name: Checkout bx
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: bkaradzic/bx
path: bx
Expand Down Expand Up @@ -81,10 +81,10 @@ jobs:
{ config: release, binsuffix: Release },
]
name: linux-gcc-${{ matrix.config }}64
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout bx
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: bkaradzic/bx
path: bx
Expand All @@ -106,10 +106,10 @@ jobs:
{ config: release, binsuffix: Release },
]
name: osx-x64-${{ matrix.config }}
runs-on: macos-latest
runs-on: macos-14
steps:
- name: Checkout bx
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: bkaradzic/bx
path: bx
Expand All @@ -122,3 +122,28 @@ jobs:
run: |
cd bx
".build/osx-x64/bin/bx.test${{ matrix.binsuffix}}" -d yes
emscripten:
strategy:
fail-fast: true
matrix:
include: [
{ config: debug, binsuffix: Debug },
{ config: release, binsuffix: Release },
]
name: wasm
runs-on: ubuntu-24.04
steps:
- name: Checkout bx
uses: actions/checkout@v4
with:
repository: bkaradzic/bx
path: bx
- uses: mymindstorm/setup-emsdk@v14
- name: Build
run: |
cd bx
tools/bin/linux/genie --gcc=wasm gmake
make -C .build/projects/gmake-wasm config=${{ matrix.config }} -j$(nproc) EMSCRIPTEN=/emsdk/upstream/emscripten
- name: Check
run: |
cd bx
6 changes: 2 additions & 4 deletions tests/run_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ int runAllTests(int _argc, const char* _argv[])
", Arch: " BX_ARCH_NAME
", OS: " BX_PLATFORM_NAME
", CRT: " BX_CRT_NAME
", C++: " BX_CPP_NAME
", SIMD"
", Features: " BX_CPP_NAME
#if BX_SIMD_SUPPORTED
", SIMD"
# if BX_SIMD_AVX
", AVX"
# endif // BX_SIMD_AVX
Expand All @@ -51,8 +51,6 @@ int runAllTests(int _argc, const char* _argv[])
# if BX_SIMD_SSE
", SSE"
# endif // BX_SIMD_SSE
#else
": Not supported."
#endif // BX_SIMD_SUPPORTED

", Date: " __DATE__
Expand Down

0 comments on commit 8121036

Please sign in to comment.