[WORKFLOW]: CI Update
This commit is contained in:
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -7,7 +7,7 @@ on:
|
||||
branches: [ "main" ]
|
||||
|
||||
jobs:
|
||||
build-linux-wasm:
|
||||
build-linux-and-wasm:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
@ -40,7 +40,9 @@
|
||||
"displayName": "Windows x64 (Clang)",
|
||||
"inherits": "base-common",
|
||||
"cacheVariables": {
|
||||
"VCPKG_TARGET_TRIPLET": "windows-x64-clang"
|
||||
"VCPKG_TARGET_TRIPLET": "windows-x64-clang",
|
||||
"CMAKE_C_COMPILER": "clang-cl",
|
||||
"CMAKE_CXX_COMPILER": "clang-cl"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -48,7 +50,9 @@
|
||||
"displayName": "Windows ARM64 (Clang Cross)",
|
||||
"inherits": "base-common",
|
||||
"cacheVariables": {
|
||||
"VCPKG_TARGET_TRIPLET": "windows-arm64-clang"
|
||||
"VCPKG_TARGET_TRIPLET": "windows-arm64-clang",
|
||||
"CMAKE_C_COMPILER": "clang-cl",
|
||||
"CMAKE_CXX_COMPILER": "clang-cl"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@ -50,6 +50,8 @@
|
||||
#elif __linux__
|
||||
# define IA_PLATFORM_LINUX 1
|
||||
# define IA_PLATFORM_UNIX 1
|
||||
#elif __wasm__
|
||||
# define IA_PLATFORM_WASM 1
|
||||
#else
|
||||
# error "IACore: Unsupported Platform. Only Windows, Linux, MacOS, Android and iOS are supported."
|
||||
#endif
|
||||
@ -99,13 +101,6 @@
|
||||
# define DEBUG_ONLY(f)
|
||||
#endif
|
||||
|
||||
#if IA_CHECK(IA_PLATFORM_WIN64) || IA_CHECK(IA_PLATFORM_UNIX)
|
||||
# define IA_CORE_PLATFORM_FEATURES 1
|
||||
#else
|
||||
# define IA_CORE_PLATFORM_FEATURES 0
|
||||
# warning "IACore Unsupported Platform: Platform specific features will be disabled"
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "iacore",
|
||||
"version": "0.1.0",
|
||||
"builtin-baseline": "84bab45d415d22042bd0b9081aea57f362da3f35",
|
||||
"dependencies": [
|
||||
"openssl",
|
||||
"zlib-ng",
|
||||
|
||||
Reference in New Issue
Block a user