Skip to content

Commit

Permalink
Merge branch 'main' into documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
hanjoosten committed Aug 11, 2024
2 parents ba0c51a + d785b88 commit 5931a6c
Show file tree
Hide file tree
Showing 106 changed files with 67,472 additions and 4,204 deletions.
1 change: 1 addition & 0 deletions .ampersand
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
AmpersandData/FormalAmpersand/FormalAmpersand.adl
AmpersandData/FormalAmpersand/Namespaces.adl
AmpersandData/PrototypeContext/PrototypeContext.adl
testing/Travis/testcases/Misc/FraakTest1.adl
testing/Travis/testcases/Misc/FraakTest2.adl
Expand Down
65 changes: 35 additions & 30 deletions .github/workflows/ci2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
DOCKER_AMPERSAND_IMAGE: ampersandtarski/ampersand
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Prepare for docker
run: |
Expand All @@ -40,7 +40,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout project contents 📡
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Mariadb 🧰
uses: shogo82148/actions-setup-mysql@v1
with:
Expand All @@ -54,44 +54,49 @@ jobs:

build-and-test-macOS:
name: Build and test on macOS 🏗 🧪
runs-on: macos-latest
runs-on: macos-12
steps:
- name: Checkout project contents 📡
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Mariadb 🧰
uses: shogo82148/actions-setup-mysql@v1
with:
mysql-version: "mariadb-10.6"
# See issue https://github.com/freckle/stack-action/issues/80 for why we need to install stack and php as well
- run: curl -sSL https://get.haskellstack.org/ | sh
## run: curl -sSL https://get.haskellstack.org/ | sh
- run: brew install php
- name: Build and test 🏗 🧪
uses: freckle/stack-action@v5
with:
stack-build-arguments: "--copy-bins --flag ampersand:buildAll"

# build-and-test-windows:
# name: Build and test on Windows 🏗 🧪
# runs-on: windows-latest
# steps:
# - name: Checkout project contents 📡
# uses: actions/checkout@v3
# - uses: suisei-cn/actions-download-file@818d6b7dc8fe73f2f924b6241f2b1134ca1377d9 # 1.6.0
# id: expatLibraryZip # Remember to give an ID if you need the output filename
# name: Download the expat library
# with:
# url: "https://github.com/libexpat/libexpat/releases/download/R_2_6_2/expat-win32bin-2.6.2.zip"
# target: public/
# - name: Set up Mariadb 🧰
# uses: shogo82148/actions-setup-mysql@v1
# with:
# mysql-version: "mariadb-10.6"
# - name: Setup PHP 🧰
# uses: shivammathur/setup-php@v2
# with:
# php-version: "8.0"
# extensions: mysqli
# - name: Build and test 🏗 🧪
# uses: freckle/stack-action@v5
# with:
# stack-build-arguments: "--copy-bins --flag ampersand:buildAll"
build-and-test-windows:
name: Build and test on Windows 🏗 🧪
runs-on: windows-latest
steps:
- name: Checkout project contents 📡
uses: actions/checkout@v4
- name: Use cache (manually) 📦 # See https://github.com/freckle/stack-cache-action/issues/5
uses: actions/cache@v2.1.3
# TODO: Cache might be done better, see for inspiration: https://github.com/godu/advent-of-code-2020/blob/46796832f59d185457a8edf8de043a54a451d688/.github/workflows/ci.yml
with:
path: |
~/.ghc
~/.stack
~/.stack-work
key: ${{ runner.os }}-stack
- name: Set up Mariadb 🧰
uses: shogo82148/actions-setup-mysql@v1
with:
mysql-version: "mariadb-10.6"
- name: Setup PHP 🧰
uses: shivammathur/setup-php@v2
with:
php-version: "8.0"
extensions: mysqli
- name: Build and test 🏗 🧪
uses: freckle/stack-action@v5
with:
stack-build-arguments: "--copy-bins --flag ampersand:buildAll"
upgrade-stack: false
cache-save-always: true
4 changes: 2 additions & 2 deletions .github/workflows/codeQuality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout project contents 📡
uses: actions/checkout@v3.1.0
uses: actions/checkout@v4
- name: Setup hlint
uses: rwe/actions-hlint-setup@v1.0.3
- name: Run hlint
Expand All @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout project contents 📡
uses: actions/checkout@v3.1.0
uses: actions/checkout@v4
- name: Build the project 🌿🌿🌿
uses: freckle/stack-action@v5
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hadolint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run hadolint
uses: hadolint/hadolint-action@f988afea3da57ee48710a9795b6bb677cc901183
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ormolu-formatting-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
# The checkout step is needed since the enforcer relies on local git commands
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: mrkkrp/ormolu-action@v15
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Add release notes to artefacts
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Upload macOS artifact
uses: actions/upload-release-asset@v1
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout project contents 📡
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Mariadb 🧰
uses: shogo82148/actions-setup-mysql@v1
with:
Expand All @@ -167,7 +167,7 @@ jobs:
runs-on: macos-latest
steps:
- name: Checkout project contents 📡
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Mariadb 🧰
uses: shogo82148/actions-setup-mysql@v1
with:
Expand All @@ -192,7 +192,7 @@ jobs:
# runs-on: windows-latest
# steps:
# - name: Checkout project contents 📡
# uses: actions/checkout@v3
# uses: actions/checkout@v4
# # - name: Use cache (manually) 📦 # See https://github.com/freckle/stack-cache-action/issues/5
# # uses: actions/cache@v3.3.2
# # # TODO: Cache might be done better, see for inspiration: https://github.com/godu/advent-of-code-2020/blob/46796832f59d185457a8edf8de043a54a451d688/.github/workflows/ci.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/releasenotes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
# The checkout step is needed since the enforcer relies on local git commands
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: dangoslen/changelog-enforcer@v2
with:
Expand Down
Loading

0 comments on commit 5931a6c

Please sign in to comment.