summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorChad Elliott <elliottc@objectcomputing.com>2023-01-06 08:27:05 -0600
committerChad Elliott <elliottc@objectcomputing.com>2023-01-06 08:27:05 -0600
commitd7cc4836355744f9c5361e725d1fd01e984a81a4 (patch)
treed9596a9e2a87945a4f7b61821623600b8609b0ca /.github/workflows
parent8b743a12847d28c8e01a644e5f06d34e390c9bbc (diff)
downloadATCD-d7cc4836355744f9c5361e725d1fd01e984a81a4.tar.gz
Added windows to the cmake actions.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/cmake.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml
index 4abf2226588..fdd9bd83900 100644
--- a/.github/workflows/cmake.yml
+++ b/.github/workflows/cmake.yml
@@ -24,6 +24,9 @@ jobs:
CXX: g++-12
PackageDeps: g++-12
os: ubuntu-22.04
+ - CC: vs2019
+ CXX: vs2019
+ os: windows-2019
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} ${{ matrix.CXX }}
env:
@@ -48,9 +51,14 @@ jobs:
run: |
sudo apt-get --yes update
sudo apt-get --yes install ${{ matrix.PackageDeps }}
+ if: matrix.PackageDeps != ''
- name: create $ACE_ROOT/ace/config.h
run: |
- '#include "ace/config-linux.h"' > ${env:ACE_ROOT}/ace/config.h
+ '#ifdef linux' > ${env:ACE_ROOT}/ace/config.h
+ '# include "ace/config-linux.h"' >> ${env:ACE_ROOT}/ace/config.h
+ '#else' >> ${env:ACE_ROOT}/ace/config.h
+ '# include "ace/config-win32.h"' >> ${env:ACE_ROOT}/ace/config.h
+ '#endif' >> ${env:ACE_ROOT}/ace/config.h
shell: pwsh
- name: Run mwc.pl on $(ACE_ROOT)/ace/ace.mwc
run: |