Created
June 23, 2021 20:30
-
-
Save michaeltryby/3d14a2205ec190a8644e6cdcd3bc2432 to your computer and use it in GitHub Desktop.
GitHub Actions CI build for Win32 and Win64 swmm-solver
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# build.yml - GitHub Actions CI build for Win32 and Win64 swmm-solver | |
# | |
# Created: June 23, 2021 | |
# Updated: | |
# | |
# Author: Michael E. Tryby | |
# US EPA - ORD/CESER | |
# | |
name: Build | |
on: | |
push: | |
branches: build | |
jobs: | |
win_build-32: | |
runs-on: windows-2016 | |
defaults: | |
run: | |
shell: cmd | |
working-directory: ci-tools/windows | |
env: | |
PROJECT: swmm | |
BUILD_HOME: build | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Checkout ci-tools | |
uses: actions/checkout@v2 | |
with: | |
repository: michaeltryby/ci-tools | |
path: ci-tools | |
- name: Build and package | |
run: ./make.cmd /g "Visual Studio 15 2017" | |
- name: Upload artifacts | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v2 | |
with: | |
path: upload/ | |
win_build-64: | |
runs-on: windows-2016 | |
defaults: | |
run: | |
shell: cmd | |
working-directory: ci-tools/windows | |
env: | |
PROJECT: swmm | |
BUILD_HOME: build | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Checkout ci-tools | |
uses: actions/checkout@v2 | |
with: | |
repository: michaeltryby/ci-tools | |
path: ci-tools | |
- name: Build and package | |
run: ./make.cmd /g "Visual Studio 15 2017 Win64" | |
- name: Upload artifacts | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v2 | |
with: | |
path: upload/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment