diff options
| author | ruki <[email protected]> | 2020-09-13 09:44:31 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-09-13 09:45:16 +0800 |
| commit | 4ccfb91fcad1422ca5bf0dd9630a69e1e5eddc1d (patch) | |
| tree | b9165c50ee968a8cda287a0987e0f97b7445e6f5 /.github | |
| parent | 366e7fcdcb21c1e1dc53c8d52176289be93e34b9 (diff) | |
fix ci and add_configfiles
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/debian_mips.yml | 25 | ||||
| -rw-r--r-- | .github/workflows/msys2_mingw.yml | 10 | ||||
| -rw-r--r-- | .github/workflows/ubuntu_arm.yml | 2 |
3 files changed, 9 insertions, 28 deletions
diff --git a/.github/workflows/debian_mips.yml b/.github/workflows/debian_mips.yml index ed1700c4b..236de6f33 100644 --- a/.github/workflows/debian_mips.yml +++ b/.github/workflows/debian_mips.yml @@ -17,30 +17,6 @@ jobs: - run: | docker run --rm --privileged multiarch/qemu-user-static:register --reset - - uses: docker://multiarch/debian-debootstrap:mips-stretch - with: - args: > - bash -c - "uname -a && - apt update && - cd /github/workspace && - ./scripts/get.sh __local__ && - source ~/.xmake/profile && - export XMAKE_ROOT=y && - xmake lua -v -D tests/run.lua" - - - uses: docker://multiarch/debian-debootstrap:mipsel-stretch - with: - args: > - bash -c - "uname -a && - apt update && - cd /github/workspace && - ./scripts/get.sh __local__ && - source ~/.xmake/profile && - export XMAKE_ROOT=y && - xmake lua -v -D tests/run.lua" - - uses: docker://multiarch/debian-debootstrap:mips64el-stretch with: args: > @@ -51,4 +27,5 @@ jobs: ./scripts/get.sh __local__ && source ~/.xmake/profile && export XMAKE_ROOT=y && + export XMAKE_TMPDIR=/tmp && xmake lua -v -D tests/run.lua" diff --git a/.github/workflows/msys2_mingw.yml b/.github/workflows/msys2_mingw.yml index d2c99045d..c7901e80d 100644 --- a/.github/workflows/msys2_mingw.yml +++ b/.github/workflows/msys2_mingw.yml @@ -11,15 +11,16 @@ jobs: fail-fast: false matrix: include: [ - { msystem: MINGW64, arch: x86_64 }, - { msystem: MINGW32, arch: i686 } + { msystem: MINGW64, arch: x86_64, prefix: /mingw64 }, + { msystem: MINGW32, arch: i686, prefix: /mingw32 } ] + steps: - uses: actions/checkout@v2 with: path: temp - fetch-depth: 0 + submodules: true - uses: msys2/setup-msys2@v2 with: @@ -35,5 +36,6 @@ jobs: run: | cd /C/_ make build - source .\scripts\srcenv.profile + make install PREFIX=${{ matrix.prefix }} + xmake --version xmake lua -v -D tests/run.lua diff --git a/.github/workflows/ubuntu_arm.yml b/.github/workflows/ubuntu_arm.yml index 6c20faf1c..29d7bad9c 100644 --- a/.github/workflows/ubuntu_arm.yml +++ b/.github/workflows/ubuntu_arm.yml @@ -27,6 +27,7 @@ jobs: ./scripts/get.sh __local__ && source ~/.xmake/profile && export XMAKE_ROOT=y && + export XMAKE_TMPDIR=/tmp && xmake lua -v -D tests/run.lua" - uses: docker://multiarch/ubuntu-core:arm64-bionic @@ -39,4 +40,5 @@ jobs: ./scripts/get.sh __local__ && source ~/.xmake/profile && export XMAKE_ROOT=y && + export XMAKE_TMPDIR=/tmp && xmake lua -v -D tests/run.lua" |
