summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2022-09-27 17:58:31 -0400
committerAnthony Green <green@moxielogic.com>2022-09-27 17:58:31 -0400
commitb8d849bd85294253787bbe1838de354ad2f54201 (patch)
tree5eb5aa7a5ccbd96a6aa4c4f7fd3719e3a0894e67
parent9785eee066782d7575023f94b64402963b55aa8c (diff)
downloadlibffi-b8d849bd85294253787bbe1838de354ad2f54201.tar.gz
Find ms tools
-rw-r--r--.github/workflows/build.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 07ef921..76616bd 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -326,8 +326,10 @@ jobs:
include:
- host: i686-pc-cygwin
width: 32
+ arch: x86
- host: x86_64-pc-cygwin
width: 64
+ arch: x64
steps:
- run: git config --global core.autocrlf input
@@ -339,9 +341,12 @@ jobs:
- uses: ilammy/msvc-dev-cmd@v1.8.1
- uses: microsoft/setup-msbuild@v1.0.2
+ - name: Detect tools
+ run: |
+ $(cygpath $RUNNER_WORKSPACE)/libffi/.ci/msvs-detect --arch=${{ matrix.arch }} --with-assembler
+
- name: Build and test
run: |
- # $(cygpath $RUNNER_WORKSPACE)/libffi/.ci/msvs-detect --arch=x64 --with-assembler
export PATH=$PATH:"/cygdrive/c/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.16.27023/bin/HostX64/x64"
cd $(cygpath $RUNNER_WORKSPACE)/libffi
wget https://rl.gl/cli/rlgl-windows-amd64.zip