-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'trunk' into syncv2/experiments
- Loading branch information
Showing
1,193 changed files
with
78,538 additions
and
72,197 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ on: | |
required: true | ||
|
||
env: | ||
racket_version: "8.7" | ||
racket_version: "8.14" | ||
|
||
defaults: | ||
run: | ||
|
@@ -25,7 +25,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-20.04, macos-12, windows-2019] | ||
os: [ubuntu-20.04, macos-13, macos-14, windows-2019] | ||
runs-on: ${{matrix.os}} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -56,7 +56,7 @@ jobs: | |
tries=5 | ||
for (( i = 0; i < $tries; i++ )); do | ||
stack build :unison \ | ||
--flag unison-parser-typechecker:optimized \ | ||
--ghc-options='-O2' \ | ||
--local-bin-path ucm-bin \ | ||
--copy-bins \ | ||
&& break; | ||
|
@@ -91,7 +91,16 @@ jobs: | |
runs-on: ${{matrix.os}} | ||
steps: | ||
- name: set up environment | ||
run: echo "ucm=${{ runner.temp }}/unison" >> $GITHUB_ENV | ||
run: | | ||
echo "ucm=${{ runner.temp }}/unison" >> $GITHUB_ENV | ||
case "$RUNNER_ARCH" in | ||
X86) racket_arch=x86 ;; | ||
X64) racket_arch=x64 ;; | ||
ARM) racket_arch=arm32 ;; | ||
ARM64) racket_arch=arm64 ;; | ||
*) echo "Unsupported architecture: ${{runner.arch}}"; exit 1 ;; | ||
esac | ||
echo "racket_arch=$racket_arch" >> $GITHUB_ENV | ||
- name: download racket `unison` source | ||
uses: actions/checkout@v4 | ||
with: | ||
|
@@ -107,7 +116,7 @@ jobs: | |
${{ env.ucm }} transcript unison-src/transcripts-manual/gen-racket-libs.md | ||
- uses: Bogdanp/[email protected] | ||
with: | ||
architecture: "x64" | ||
architecture: ${{ env.racket_arch }} | ||
distribution: "full" | ||
variant: "CS" | ||
version: ${{env.racket_version}} | ||
|
@@ -132,7 +141,8 @@ jobs: | |
matrix: | ||
os: | ||
- ubuntu-20.04 | ||
- macos-12 | ||
- macos-13 | ||
- macos-14 | ||
- windows-2019 | ||
runs-on: ${{matrix.os}} | ||
steps: | ||
|
@@ -155,9 +165,19 @@ jobs: | |
# This isn't right because unison.zip is going to include different dates each time. | ||
# Maybe we can unpack it and hash the contents. | ||
key: ${{ runner.os }}-racket-${{env.racket_version}}-${{hashFiles('scheme-libs/racket/unison.zip')}} | ||
- name: set up environment | ||
run: | | ||
case "$RUNNER_ARCH" in | ||
X86) racket_arch=x86 ;; | ||
X64) racket_arch=x64 ;; | ||
ARM) racket_arch=arm32 ;; | ||
ARM64) racket_arch=arm64 ;; | ||
*) echo "Unsupported architecture: ${{runner.arch}}"; exit 1 ;; | ||
esac | ||
echo "racket_arch=$racket_arch" >> $GITHUB_ENV | ||
- uses: Bogdanp/[email protected] | ||
with: | ||
architecture: "x64" | ||
architecture: ${{ env.racket_arch }} | ||
distribution: "full" | ||
variant: "CS" | ||
version: ${{env.racket_version}} | ||
|
@@ -191,12 +211,12 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-20.04, macos-12, windows-2019] | ||
os: [ubuntu-20.04, macos-13, macos-14, windows-2019] | ||
steps: | ||
- name: set up environment | ||
run: | | ||
staging_dir="${RUNNER_TEMP//\\//}/ucm-staging" | ||
artifact_os="$(echo $RUNNER_OS | tr '[:upper:]' '[:lower:]')" | ||
artifact_os="$(echo "${RUNNER_OS}-${RUNNER_ARCH}" | tr '[:upper:]' '[:lower:]')" | ||
echo "staging_dir=$staging_dir" >> $GITHUB_ENV | ||
echo "artifact_os=$artifact_os" >> $GITHUB_ENV | ||
- name: download ucm | ||
|
@@ -246,7 +266,7 @@ jobs: | |
file: ucm.cmd | ||
content: | | ||
@echo off | ||
SET UCM_WEB_UI="%~dp0ui" | ||
SET UCM_WEB_UI=%~dp0ui | ||
"%~dp0unison\unison.exe" --runtime-path "%~dp0runtime\unison-runtime.exe" %* | ||
- name: package everything together | ||
run: | | ||
|
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ on: | |
workflow_dispatch: | ||
|
||
env: | ||
ormolu_version: "0.5.2.0" | ||
ormolu_version: "0.7.2.0" | ||
|
||
jobs: | ||
ormolu: | ||
|
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 |
---|---|---|
|
@@ -26,6 +26,8 @@ dist-newstyle | |
*.prof | ||
*.prof.html | ||
*.profiterole.* | ||
*.hp | ||
*.ps | ||
/.direnv/ | ||
/.envrc | ||
|
||
|
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
Oops, something went wrong.