diff options
| author | ruki <[email protected]> | 2020-09-14 22:50:30 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-09-14 22:50:30 +0800 |
| commit | 0df7778b25a5d53e4e35c88d27ca593fa7e2439d (patch) | |
| tree | e3a116aec6ae835be491dd9cbe0c1868b6cf6db9 | |
| parent | 144550d1d1898397005b4396cd4499872a98f416 (diff) | |
remove unused codes
| -rw-r--r-- | .github/workflows/debian_mips.yml | 1 | ||||
| -rw-r--r-- | .github/workflows/ubuntu_arm.yml | 7 | ||||
| -rw-r--r-- | xmake/actions/config/configfiles.lua | 3 |
3 files changed, 3 insertions, 8 deletions
diff --git a/.github/workflows/debian_mips.yml b/.github/workflows/debian_mips.yml index 9473cf595..236de6f33 100644 --- a/.github/workflows/debian_mips.yml +++ b/.github/workflows/debian_mips.yml @@ -23,7 +23,6 @@ jobs: bash -c "uname -a && apt update && - apt install sudo && cd /github/workspace && ./scripts/get.sh __local__ && source ~/.xmake/profile && diff --git a/.github/workflows/ubuntu_arm.yml b/.github/workflows/ubuntu_arm.yml index feb74c824..b6385e50e 100644 --- a/.github/workflows/ubuntu_arm.yml +++ b/.github/workflows/ubuntu_arm.yml @@ -17,13 +17,12 @@ jobs: - run: | docker run --rm --privileged multiarch/qemu-user-static:register --reset - - uses: docker://multiarch/ubuntu-core:armhf-bionic + - uses: docker://multiarch/ubuntu-core:arm64-bionic with: args: > bash -c "uname -a && apt update && - apt install sudo && cd /github/workspace && ./scripts/get.sh __local__ && source ~/.xmake/profile && @@ -31,16 +30,16 @@ jobs: export XMAKE_TMPDIR=/tmp && xmake lua -v -D tests/run.lua" - - uses: docker://multiarch/ubuntu-core:arm64-bionic + - uses: docker://multiarch/ubuntu-core:armhf-bionic with: args: > bash -c "uname -a && apt update && - apt install sudo && cd /github/workspace && ./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/xmake/actions/config/configfiles.lua b/xmake/actions/config/configfiles.lua index 60a8f47d3..42b7a87ea 100644 --- a/xmake/actions/config/configfiles.lua +++ b/xmake/actions/config/configfiles.lua @@ -173,9 +173,6 @@ function _generate_configfile(srcfile, dstfile, fileinfo, targets) end end - print(variables) - print("os.arch", os.arch()) - -- replace all variables local pattern = fileinfo.pattern or "%${(.-)}" io.gsub(dstfile_tmp, "(" .. pattern .. ")", function(_, variable) |
