summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2020-12-02 12:14:46 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2020-12-02 12:14:46 +0100
commit971af5ca261e48d78a7c642eda602206f9017642 (patch)
treefc73056c8cdf2718e4013a0887d1edf36e86638e /.github
parentf7d406f7f569439397765bcd30582b3c3aa6998b (diff)
downloadATCD-971af5ca261e48d78a7c642eda602206f9017642.tar.gz
Add mingw github action
* .github/workflows/windows.yml:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/windows.yml41
1 files changed, 41 insertions, 0 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 1f80abfeb8a..1935ae64c1d 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -134,3 +134,44 @@ jobs:
run: msbuild -maxcpucount -p:Platform=${{ matrix.BuildPlatform }} -p:Configuration=${{ matrix.BuildConfiguration }} TAO/TAO_ACE.sln
- name: Build solution ACE/tests/tests.sln
run: msbuild -maxcpucount -p:Platform=${{ matrix.BuildPlatform }} -p:Configuration=${{ matrix.BuildConfiguration }} ACE/tests/tests.sln
+
+jobs:
+ windows:
+ runs-on: windows-2019
+ strategy:
+ matrix:
+ compiler: [gcc, clang]
+ msystem: [MINGW32, MINGW64]
+ defaults:
+ run:
+ shell: msys2 {0}
+ name: mingw-${{ matrix.msystem }}
+ steps:
+ - uses: actions/checkout@v2
+ - uses: msys2/setup-msys2@v2
+ with:
+ msystem: ${{ matrix.msystem }}
+ install: make
+ - run: pacman --noconfirm -S gcc
+ if: ${{ matrix.compiler == 'gcc' }}
+ - run: pacman --noconfirm -S mingw-w64-x86_64-clang
+ if: ${{ (matrix.msystem == 'MINGW64') && (matrix.compiler == 'clang') }}
+ - run: pacman --noconfirm -S mingw-w64-i686-clang
+ if: ${{ (matrix.msystem == 'MINGW32') && (matrix.compiler == 'clang') }}
+ - run: ${{ matrix.compiler }} --version
+ - name: Run mwc.pl on $(TAO_ROOT)/TAO_ACE.mwc
+ run: |
+ perl $ACE_ROOT/bin/mwc.pl -type gnuace $TAO_ROOT/TAO_ACE.mwc -workers 4
+ shell: pwsh
+ - name: Run mwc.pl on $(ACE_ROOT)/tests/tests.mwc
+ run: |
+ perl $ACE_ROOT/bin/mwc.pl -type gnuace $ACE_ROOT/tests/tests.mwc -workers 4
+ shell: pwsh
+ - name: Build TAO_ACE project
+ run: |
+ make -j 6 -C $TAO_ROOT
+ shell: pwsh
+ - name: Build ACE/tests project
+ run: |
+ make -j 6 -C $ACE_ROOT/tests
+ shell: pwsh