Skip to content

Commit

Permalink
chore: upgrade odin
Browse files Browse the repository at this point in the history
  • Loading branch information
hanabi1224 committed Feb 8, 2023
1 parent c7c13cf commit 96657f1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/dart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ mkdir dartsdk
pushd dartsdk
wget https://storage.googleapis.com/dart-archive/channels/stable/release/latest/sdk/dartsdk-linux-x64-release.zip -O dartsdk.zip
unzip -o dartsdk.zip
ln -sf $PWD/dart-sdk/bin/dart /usr/local/bin/dart
sudo ln -sf $PWD/dart-sdk/bin/dart /usr/local/bin/dart
popd

# dart3
mkdir dart3sdk
pushd dart3sdk
wget https://storage.googleapis.com/dart-archive/channels/dev/release/latest/sdk/dartsdk-linux-x64-release.zip -O dartsdk.zip
unzip -o dartsdk.zip
ln -sf $PWD/dart-sdk/bin/dart /usr/local/bin/dart3
sudo ln -sf $PWD/dart-sdk/bin/dart /usr/local/bin/dart3
popd
popd
dart --version
Expand Down
6 changes: 3 additions & 3 deletions .github/odin.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/usr/bin/sh

VERSION=dev-2023-01
VERSION=dev-2023-02
FILE_NAME=odin-ubuntu-amd64-$VERSION.zip

sudo apt-get install -y aria2
mkdir /tmp/odin
cd /tmp/odin
wget https://github.com/odin-lang/Odin/releases/download/$VERSION/$FILE_NAME
aria2c -c -o $FILE_NAME https://github.com/odin-lang/Odin/releases/download/$VERSION/$FILE_NAME
unzip -o $FILE_NAME
sudo chmod +x $PWD/odin
sudo ln -sf $PWD/odin /usr/bin/odin
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ jobs:
# run: ./.github/truffleruby.sh
- name: Install dart
if: matrix.lang == 'dart'
run: sudo ./.github/dart.sh
run: ./.github/dart.sh
- name: Install v
if: matrix.lang == 'v'
run: ./.github/v.sh
Expand Down Expand Up @@ -283,7 +283,7 @@ jobs:
# - run: ./.github/racket.sh
- run: ./.github/hashlink.sh
# - run: ./.github/hhvm.sh
# - run: sudo ./.github/dart.sh
# - run: ./.github/dart.sh
- uses: shogo82148/actions-setup-perl@v1
with:
perl-version: "5"
Expand Down
2 changes: 1 addition & 1 deletion bench/bench_luajit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ problems:
- 1.lua
- name: coro-prime-sieve
source:
- 1.lua
# - 1.lua
compiler_version_command:
compiler_version_regex:
runtime_version_parameter: -v
Expand Down

0 comments on commit 96657f1

Please sign in to comment.