summaryrefslogtreecommitdiff
path: root/.github/workflows/linux.yml
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2022-02-15 15:47:45 -0500
committerGitHub <noreply@github.com>2022-02-15 15:47:45 -0500
commit505860911a562f25a8ada1bc294786c3a63b848f (patch)
tree2d455f960a3e93d96d4e623e0ad929a8aa885cf7 /.github/workflows/linux.yml
parent1278e230f30773137d3b503031c8d3669f681e02 (diff)
Add OSX LLVM JIT support (#2130)
* #include an absolute path didn't work - because paths were taken to always be relative. * Small fixes. Added compiler crash with generic defined in a function. Added enum-flags test that works (by limiting backing type to int), and using __EnumType constraint. * Add comment about crash. * Disable crashing test. * Fixes to make compile on OSX. * Add github build for OSX. * Make premake generator a utility. * Fix osx compilation issue. * More fixes for OSX build. * OSX fix due to ambiguity around size_t and integer types. * Disable xlib on build on osx. * Use 'prebuildcommands' to make prebuild make utility projects do something. * Small fixes for premake so utility works on linux/osx. * Another hack to try and make generators run when 'utility' * Fix typo in macos.yml. * Revert premake to old style, and disable stdlib embedding on OSX. * OSX testing. * Fix pipe handling for OSX. * Enable testing on OSX. * Small fix because uname -p is not x64 on darwin. * Use glslang from slang-binaries for OSX. * Add slang-llvm on OSX. * Upgrade slang-llvm. * Update slang-llvm for OSX JIT fix. * slang llvm 26 * Upgrade slang-llvm. * Use slangUtil to get shared library filename. * Use fixed slang-binaries. * Another small fix. * Rename linux build for clarity.
Diffstat (limited to '.github/workflows/linux.yml')
-rw-r--r--.github/workflows/linux.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
new file mode 100644
index 000000000..d9d0a7b66
--- /dev/null
+++ b/.github/workflows/linux.yml
@@ -0,0 +1,34 @@
+name: Linux Build CI
+
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ configuration: ['debug', 'release']
+ compiler: ['gcc', 'clang']
+ platform: ['x64']
+ steps:
+ - uses: actions/checkout@v2.3.4
+ with:
+ submodules: 'true'
+ fetch-depth: '0'
+ - name: build
+ run:
+ CC=${{matrix.compiler}}
+ CONFIGURATION=${{matrix.configuration}}
+ ARCH=${{matrix.platform}}
+ source ./github_build.sh
+ - name: test
+ run:
+ CONFIGURATION=${{matrix.configuration}}
+ CC=${{matrix.compiler}}
+ ARCH=${{matrix.platform}}
+ source ./github_test.sh \ No newline at end of file