Skip to content

Commit

Permalink
Merge pull request #13 from rhennigan/feature/customizable-sandbox-pa…
Browse files Browse the repository at this point in the history
…tterns

Customizable sandbox patterns
  • Loading branch information
rhennigan committed Sep 23, 2022
2 parents b9c67e5 + 774c5c8 commit 561d149
Show file tree
Hide file tree
Showing 23 changed files with 13,733 additions and 6,313 deletions.
36 changes: 17 additions & 19 deletions .github/workflows/Check.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,37 @@
name: Check
on:
schedule:
- cron: '30 12 * * *'
pull_request:
branches: [main]
workflow_dispatch:
schedule:
- cron: '30 12 * * *'
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
env:
WOLFRAM_SYSTEM_ID: Linux-x86-64
WOLFRAMSCRIPT_ENTITLEMENTID: ${{ secrets.WOLFRAMSCRIPT_ENTITLEMENTID }}
RESOURCE_PUBLISHER_TOKEN: ${{ secrets.RESOURCE_PUBLISHER_TOKEN }}
jobs:
Check:
name: Check
runs-on: ubuntu-latest
container:
image: wolframresearch/wolframengine:latest
options: --user root
env:
WOLFRAM_SYSTEM_ID: Linux-x86-64
WOLFRAMSCRIPT_ENTITLEMENTID: ${{ secrets.WOLFRAMSCRIPT_ENTITLEMENTID }}
RESOURCE_PUBLISHER_TOKEN: ${{ secrets.RESOURCE_PUBLISHER_TOKEN }}
timeout-minutes: 15
steps:
- name: Checkout
id: checkout-code-step
uses: actions/checkout@v2
- name: Build paclet MX
uses: actions/checkout@v3
- name: BuildMX
run: wolframscript Scripts/BuildMX.wls
- name: Build
id: build-paclet-step
uses: rhennigan/build-paclet@v1.7.1
uses: WolframResearch/build-paclet@v1.9.0
with:
target: Submit
paclet_cicd_version: latest
paclet_cicd_version: 0.32.0
definition_notebook: ./ResourceDefinition.nb
resource_system_base: https://www.wolframcloud.com/obj/resourcesystem/api/1.0
- name: UploadArtifact
Expand All @@ -45,25 +46,22 @@ jobs:
container:
image: wolframresearch/wolframengine:latest
options: --user root
env:
WOLFRAM_SYSTEM_ID: Linux-x86-64
WOLFRAMSCRIPT_ENTITLEMENTID: ${{ secrets.WOLFRAMSCRIPT_ENTITLEMENTID }}
RESOURCE_PUBLISHER_TOKEN: ${{ secrets.RESOURCE_PUBLISHER_TOKEN }}
timeout-minutes: 30
steps:
- name: Checkout
id: checkout-code-step
uses: actions/checkout@v2
- name: Build paclet MX
uses: actions/checkout@v3
- name: BuildMX
run: wolframscript Scripts/BuildMX.wls
- name: Test
id: test-paclet-step
uses: rhennigan/test-paclet@v1.7.1
uses: WolframResearch/test-paclet@v1.9.0
with:
target: Submit
paclet_cicd_version: latest
paclet_cicd_version: 0.32.0
definition_notebook: ./ResourceDefinition.nb
resource_system_base: https://www.wolframcloud.com/obj/resourcesystem/api/1.0
- name: Upload test results
- name: UploadTestResults
id: upload-test-results-step
if: always() && env.PACLET_TEST_RESULTS
uses: actions/upload-artifact@v2
Expand Down
66 changes: 30 additions & 36 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,35 @@
name: Release
on:
push:
branches: [release/*]
branches: ['release/*']
workflow_dispatch:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
env:
WOLFRAM_SYSTEM_ID: Linux-x86-64
WOLFRAMSCRIPT_ENTITLEMENTID: ${{ secrets.WOLFRAMSCRIPT_ENTITLEMENTID }}
RESOURCE_PUBLISHER_TOKEN: ${{ secrets.RESOURCE_PUBLISHER_TOKEN }}
jobs:
Check:
name: Check
runs-on: ubuntu-latest
container:
image: wolframresearch/wolframengine:latest
options: --user root
env:
WOLFRAM_SYSTEM_ID: Linux-x86-64
WOLFRAMSCRIPT_ENTITLEMENTID: ${{ secrets.WOLFRAMSCRIPT_ENTITLEMENTID }}
RESOURCE_PUBLISHER_TOKEN: ${{ secrets.RESOURCE_PUBLISHER_TOKEN }}
timeout-minutes: 15
steps:
- name: Checkout
id: checkout-code-step
uses: actions/checkout@v2
- name: Build paclet MX
uses: actions/checkout@v3
- name: BuildMX
run: wolframscript Scripts/BuildMX.wls
- name: Check
id: check-paclet-step
uses: rhennigan/check-paclet@v1.7.1
uses: WolframResearch/check-paclet@v1.9.0
with:
target: Submit
paclet_cicd_version: latest
paclet_cicd_version: 0.32.0
definition_notebook: ./ResourceDefinition.nb
resource_system_base: https://www.wolframcloud.com/obj/resourcesystem/api/1.0
Test:
Expand All @@ -34,22 +38,19 @@ jobs:
container:
image: wolframresearch/wolframengine:latest
options: --user root
env:
WOLFRAM_SYSTEM_ID: Linux-x86-64
WOLFRAMSCRIPT_ENTITLEMENTID: ${{ secrets.WOLFRAMSCRIPT_ENTITLEMENTID }}
RESOURCE_PUBLISHER_TOKEN: ${{ secrets.RESOURCE_PUBLISHER_TOKEN }}
timeout-minutes: 30
steps:
- name: Checkout
id: checkout-code-step
uses: actions/checkout@v2
- name: Build paclet MX
uses: actions/checkout@v3
- name: BuildMX
run: wolframscript Scripts/BuildMX.wls
- name: Test
id: test-paclet-step
uses: rhennigan/test-paclet@v1.7.1
uses: WolframResearch/test-paclet@v1.9.0
with:
target: Submit
paclet_cicd_version: latest
paclet_cicd_version: 0.32.0
definition_notebook: ./ResourceDefinition.nb
resource_system_base: https://www.wolframcloud.com/obj/resourcesystem/api/1.0
- name: UploadTestResults
Expand All @@ -60,29 +61,25 @@ jobs:
path: ${{ env.PACLET_TEST_RESULTS }}
if-no-files-found: ignore
Release:
needs: [Check, Test]
name: Release
needs: [Check, Test]
runs-on: ubuntu-latest
container:
image: wolframresearch/wolframengine:latest
options: --user root
env:
WOLFRAM_SYSTEM_ID: Linux-x86-64
WOLFRAMSCRIPT_ENTITLEMENTID: ${{ secrets.WOLFRAMSCRIPT_ENTITLEMENTID }}
RESOURCE_PUBLISHER_TOKEN: ${{ secrets.RESOURCE_PUBLISHER_TOKEN }}
timeout-minutes: 360
timeout-minutes: 30
steps:
- name: Checkout
id: checkout-code-step
uses: actions/checkout@v2
- name: Build paclet MX
uses: actions/checkout@v3
- name: BuildMX
run: wolframscript Scripts/BuildMX.wls
- name: Build
id: build-paclet-step
uses: rhennigan/build-paclet@v1.7.1
uses: WolframResearch/build-paclet@v1.9.0
with:
target: Submit
paclet_cicd_version: latest
paclet_cicd_version: 0.32.0
definition_notebook: ./ResourceDefinition.nb
resource_system_base: https://www.wolframcloud.com/obj/resourcesystem/api/1.0
- name: UploadArtifact
Expand Down Expand Up @@ -112,27 +109,24 @@ jobs:
asset_name: ${{ env.PACLET_FILE }}
asset_content_type: application/zip
Submit:
needs: [Check, Test]
name: Submit
needs: [Check, Test]
runs-on: ubuntu-latest
container:
image: wolframresearch/wolframengine:latest
options: --user root
env:
WOLFRAM_SYSTEM_ID: Linux-x86-64
WOLFRAMSCRIPT_ENTITLEMENTID: ${{ secrets.WOLFRAMSCRIPT_ENTITLEMENTID }}
RESOURCE_PUBLISHER_TOKEN: ${{ secrets.RESOURCE_PUBLISHER_TOKEN }}
timeout-minutes: 30
steps:
- name: Checkout
id: checkout-code-step
uses: actions/checkout@v2
- name: Build paclet MX
uses: actions/checkout@v3
- name: BuildMX
run: wolframscript Scripts/BuildMX.wls
- name: Submit
id: submit-paclet-step
uses: rhennigan/submit-paclet@v1.7.1
uses: WolframResearch/submit-paclet@v1.9.0
with:
paclet_cicd_version: latest
paclet_cicd_version: 0.32.0
definition_notebook: ./ResourceDefinition.nb
resource_system_base: https://www.wolframcloud.com/obj/resourcesystem/api/1.0
- name: UploadArtifact
Expand Down
Loading

0 comments on commit 561d149

Please sign in to comment.