-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'documentation' of https://github.com/AmpersandTarski/Am…
…persand into documentation
- Loading branch information
Showing
107 changed files
with
3,671 additions
and
3,195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,59 +41,57 @@ jobs: | |
steps: | ||
- name: Checkout project contents 📡 | ||
uses: actions/checkout@v3 | ||
- name: Use cache when available 📦 | ||
uses: freckle/stack-cache-action@main | ||
- name: Set up Mariadb 🧰 | ||
uses: shogo82148/actions-setup-mysql@v1 | ||
with: | ||
mysql-version: "mariadb-10.6" | ||
- name: Build and test 🏗 🧪 | ||
uses: freckle/stack-action@v4 # stack-action does all these steps: dependencies, build, test. | ||
uses: freckle/stack-action@v5 # stack-action does all these steps: dependencies, build, test. | ||
with: | ||
stack-arguments: "--copy-bins --flag ampersand:buildAll" | ||
stack-build-arguments: "--copy-bins --flag ampersand:buildAll" | ||
upgrade-stack: false | ||
cache-save-always: true | ||
|
||
build-and-test-macOS: | ||
name: Build and test on macOS 🏗 🧪 | ||
runs-on: macos-latest | ||
steps: | ||
- name: Checkout project contents 📡 | ||
uses: actions/checkout@v3 | ||
- name: Use cache when available 📦 | ||
uses: freckle/stack-cache-action@main | ||
- 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: brew install php | ||
- name: Build and test 🏗 🧪 | ||
uses: freckle/stack-action@v4 | ||
uses: freckle/stack-action@v5 | ||
with: | ||
stack-arguments: "--copy-bins --flag ampersand:buildAll" | ||
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 | ||
- name: Use cache (manually) 📦 # See https://github.com/freckle/stack-cache-action/issues/5 | ||
uses: actions/[email protected] | ||
# 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@v4 | ||
with: | ||
stack-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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,10 +23,8 @@ jobs: | |
steps: | ||
- name: Checkout project contents 📡 | ||
uses: actions/[email protected] | ||
- name: Use cache when available 📦 | ||
uses: freckle/stack-cache-action@main | ||
- name: Build the project 🌿🌿🌿 | ||
uses: freckle/stack-action@v4 | ||
uses: freckle/stack-action@v5 | ||
with: | ||
test: false | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.