summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml12
1 files changed, 9 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ef6e5b17..bfedcd50 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -51,17 +51,23 @@ jobs:
submodules: recursive
- name: Build for others step-1
- if: ${{ matrix.libc != 'musl' }}
+ if: ${{ matrix.platform != 'linux-x64' }}
uses: actboy168/setup-luamake@master
- name: Build for others step-2
- if: ${{ matrix.libc != 'musl' }}
+ if: ${{ matrix.platform != 'linux-x64' }}
run: luamake -platform ${{ matrix.platform }}
- name: Build for musl
- if: ${{ matrix.target == 'linux' && matrix.libc == 'musl' }}
+ if: ${{ matrix.platform == 'linux-x64' && matrix.libc == 'musl' }}
run: ./make.sh
+ - name: Build for x64 glibc
+ if: ${{ matrix.platform == 'linux-x64' && matrix.libc != 'musl' }}
+ run: |
+ docker build -t ubuntu-18.04 .
+ docker run --rm -v $(pwd):$(pwd) -w $(pwd) ubuntu-18.04 bash -c './make.sh'
+
- name: Setting up workflow variables
id: vars
shell: bash