[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" ]
|
branches: [ "main" ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-linux-wasm:
|
build-linux-and-wasm:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|||||||
@ -40,7 +40,9 @@
|
|||||||
"displayName": "Windows x64 (Clang)",
|
"displayName": "Windows x64 (Clang)",
|
||||||
"inherits": "base-common",
|
"inherits": "base-common",
|
||||||
"cacheVariables": {
|
"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)",
|
"displayName": "Windows ARM64 (Clang Cross)",
|
||||||
"inherits": "base-common",
|
"inherits": "base-common",
|
||||||
"cacheVariables": {
|
"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__
|
#elif __linux__
|
||||||
# define IA_PLATFORM_LINUX 1
|
# define IA_PLATFORM_LINUX 1
|
||||||
# define IA_PLATFORM_UNIX 1
|
# define IA_PLATFORM_UNIX 1
|
||||||
|
#elif __wasm__
|
||||||
|
# define IA_PLATFORM_WASM 1
|
||||||
#else
|
#else
|
||||||
# error "IACore: Unsupported Platform. Only Windows, Linux, MacOS, Android and iOS are supported."
|
# error "IACore: Unsupported Platform. Only Windows, Linux, MacOS, Android and iOS are supported."
|
||||||
#endif
|
#endif
|
||||||
@ -99,13 +101,6 @@
|
|||||||
# define DEBUG_ONLY(f)
|
# define DEBUG_ONLY(f)
|
||||||
#endif
|
#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 <assert.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "iacore",
|
"name": "iacore",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
|
"builtin-baseline": "84bab45d415d22042bd0b9081aea57f362da3f35",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
"openssl",
|
"openssl",
|
||||||
"zlib-ng",
|
"zlib-ng",
|
||||||
|
|||||||
Reference in New Issue
Block a user