Skip to content

Commit

Permalink
ENH: Add Ubuntu 18.04
Browse files Browse the repository at this point in the history
  • Loading branch information
cookpa committed Jul 9, 2022
1 parent b6e79d2 commit c84738e
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: CMake Build Matrix
# Controls when the action will run. Triggers the workflow on push
on:
release:
types: [created]
types: [created, edited]

jobs:
build:
Expand All @@ -23,6 +23,15 @@ jobs:
cxx: "g++",
generators: "Ninja"
}
- {
name: "Ubuntu_18.04-GCC",
os: ubuntu-18.04,
artifact: "ubuntu-18.04-gcc.zip",
build_type: "Release",
cc: "gcc",
cxx: "g++",
generators: "Ninja"
}
- {
name: "macos-11-clang",
os: macos-11,
Expand All @@ -43,7 +52,7 @@ jobs:
echo github.event.action: ${{ github.event.action }}
echo github.event_name: ${{ github.event_name }}
- name: Install dependencies on ubuntu
if: startsWith(matrix.config.name, 'Ubuntu_20.04-GCC')
if: startsWith(matrix.config.name, 'Ubuntu_')
run: |
sudo apt-get update
sudo apt-get install ninja-build cmake
Expand Down Expand Up @@ -90,4 +99,4 @@ jobs:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ../ants-${{ github.ref_name }}-${{ matrix.config.artifact }}
asset_name: ants-${{ github.ref_name }}-${{ matrix.config.artifact }}
asset_content_type: application/zip
asset_content_type: application/zip

0 comments on commit c84738e

Please sign in to comment.