Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
darbyjohnston committed Oct 31, 2024
1 parent 2c8dc9c commit 8417fa0
Showing 1 changed file with 38 additions and 14 deletions.
52 changes: 38 additions & 14 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Install
run: |
cmake --build build-Debug --target install
cmake --build build-Debug --config Debug --target install
- name: Tests
run: |
Expand All @@ -46,17 +46,25 @@ jobs:
- name: Install
run: |
cmake --build build-Release --target install
cmake --build build-Release --config Release --target install
- name: Package
run: |
cmake --build build-Release --target package
cmake --build build-Release --config Release --target package
- uses: actions/upload-artifact@v3
- name: Upload artifact
id: linux-package-artifact
uses: actions/upload-artifact@v4
with:
name: toucan-Linux
path: build-Release/toucan-*.tar.gz

- name: Upload artifact ID
run: echo 'Artifact ID ${{ steps.windows-package-artifact.outputs.artifact-id }}'

- name: Upload artifact URL
run: echo 'Artifact URL ${{ steps.windows-package-artifact.outputs.artifact-url }}'

macos-12-build:
runs-on: macos-12

Expand All @@ -78,7 +86,7 @@ jobs:
- name: Install
run: |
cmake --build build-Debug --target install
cmake --build build-Debug --config Debug --target install
- name: Tests
run: |
Expand All @@ -105,7 +113,7 @@ jobs:
- name: Install
run: |
cmake --build build-Debug --target install
cmake --build build-Debug --config Debug --target install
- name: Tests
run: |
Expand All @@ -126,17 +134,25 @@ jobs:
- name: Install
run: |
cmake --build build-Release --target install
cmake --build build-Release --config Release --target install
- name: Package
run: |
cmake --build build-Release --target package
cmake --build build-Release --config Release --target package
- uses: actions/upload-artifact@v3
- name: Upload artifact
id: macos-package-artifact
uses: actions/upload-artifact@v4
with:
name: toucan-macOS
path: build-Release/toucan-*.tar.gz

- name: Upload artifact ID
run: echo 'Artifact ID ${{ steps.windows-package-artifact.outputs.artifact-id }}'

- name: Upload artifact URL
run: echo 'Artifact URL ${{ steps.windows-package-artifact.outputs.artifact-url }}'

windows-build:
runs-on: windows-latest

Expand All @@ -163,7 +179,7 @@ jobs:
- name: Install
shell: cmd
run: |
cmake --build build-Debug --target INSTALL
cmake --build build-Debug --config Debug --target INSTALL
- name: Tests
shell: cmd
Expand All @@ -188,14 +204,22 @@ jobs:
- name: Install
shell: cmd
run: |
cmake --build build-Release --target INSTALL
cmake --build build-Release --config Release --target INSTALL
- name: Package
shell: cmd
run: |
cmake --build build-Release --target PACKAGE
cmake --build build-Release --config Release --target PACKAGE
- uses: actions/upload-artifact@v3
- name: Upload artifact
id: windows-package-artifact
uses: actions/upload-artifact@v4
with:
name: tlRender-Windows
name: toucan-Windows
path: build-Release\toucan-*.zip

- name: Upload artifact ID
run: echo 'Artifact ID ${{ steps.windows-package-artifact.outputs.artifact-id }}'

- name: Upload artifact URL
run: echo 'Artifact URL ${{ steps.windows-package-artifact.outputs.artifact-url }}'

0 comments on commit 8417fa0

Please sign in to comment.