Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 33 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,31 @@ concurrency:
cancel-in-progress: false

jobs:
# This workflow contains a single job called "build"

test:

# The type of runner that the job will run on
runs-on: windows-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:

# Check out your repository
- uses: actions/checkout@v5

# Set up MATLAB on a GitHub-hosted runner
- name: Setup MATLAB
uses: matlab-actions/setup-matlab@v2
with:
products: ${{ env.PRODUCT_LIST }}
cache: true

# Run the MATLAB build tool to build and test your code
- name: Run buildtool
uses: matlab-actions/run-build@v2
with:
tasks: test

build:

# Set up URLs for GitHub Pages report
Expand All @@ -54,17 +78,11 @@ jobs:
cache: true

# Run the MATLAB build tool to build and test your code
- name: Run_buildtool
- name: Run buildtool
uses: matlab-actions/run-build@v2
with:
tasks: compile

- name: Upload CTF file
uses: actions/upload-artifact@v6
with:
name: WebApp_CTF
path: WebAppArchive/*.ctf

# Configure GitHub Pages to accept your artifact uploads
- name: Setup Pages
if: always()
Expand All @@ -77,6 +95,13 @@ jobs:
with:
path: results # Upload results

# Upload compiled CTF file to deploy Web App
- name: Upload CTF file
uses: actions/upload-pages-artifact@v4
with:
name: WebApp_CTF
path: WebAppArchive/*.ctf

# Publish reports to GitHub Pages so they can be viewed in a browser
- name: Deploy to GitHub Pages
id: deployment
Expand Down
41 changes: 41 additions & 0 deletions resources/project/Project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,47 @@
</Info>
</File>
</File>
<File Location=".github">
<Info/>
<DIR_SIGNIFIER Location="1">
<Info/>
</DIR_SIGNIFIER>
<File Location="workflows">
<Info/>
<DIR_SIGNIFIER Location="1">
<Info/>
</DIR_SIGNIFIER>
<File Location="ci.yml">
<Info/>
</File>
</File>
</File>
<File Location="License.txt">
<Info/>
</File>
<File Location="README.md">
<Info/>
</File>
<File Location="SECURITY.md">
<Info/>
</File>
<File Location="WorkshopGuide.m">
<Info>
<Category UUID="FileClassCategory">
<Label UUID="design"/>
</Category>
</Info>
</File>
<File Location="WorkshopGuide.md">
<Info/>
</File>
<File Location="WorkshopPresentation.pdf">
<Info>
<Category UUID="FileClassCategory">
<Label UUID="artifact"/>
</Category>
</Info>
</File>
</Files>
<Info Location="ProjectData">
<Info Name="DevOps"/>
Expand Down
Loading