summaryrefslogtreecommitdiffstats
path: root/github_build.sh
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2020-11-17 12:03:45 -0800
committerGitHub <noreply@github.com>2020-11-17 12:03:45 -0800
commitbdc589b0b1360cd06c48f88a117c55e84198ab23 (patch)
treec7e78e4a0347550ea657cf1c0cd5339283c01786 /github_build.sh
parent7dd0ff9d08ca8b5f86f2a71afaa94d625c6ad64e (diff)
Switch CI to github actions. (#1609)
* Remove travis config files * change github build script * skip non-tag build on appveyor
Diffstat (limited to 'github_build.sh')
-rw-r--r--github_build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/github_build.sh b/github_build.sh
index 78a4d4211..445b04b19 100644
--- a/github_build.sh
+++ b/github_build.sh
@@ -6,11 +6,11 @@ chmod u+x premake5
# generate slang-tag-version.h
git describe --tags | sed -e "s/\(.*\)/\#define SLANG_TAG_VERSION \"\1\"/" > slang-tag-version.h
cat slang-tag-version.h
-
+
# Create the makefile
./premake5 gmake --cc=${CC}
# Build the configuration
-make config=${CONFIGURATION}_x64 -j2
+make config=${CONFIGURATION}_x64 -j`nproc`