Skip to content

Commit 96ec561

Browse files
authored
Added solc v0.8.32 and v0.8.33 (#24)
* added solc v_0_8_32 and v_0_8_33 * nix pkgs update * removed macos-13 image from ci * replaced macos-13 y macos-15-intel to still test against x86_64-darwin
1 parent 740364b commit 96ec561

File tree

6 files changed

+31
-14
lines changed

6 files changed

+31
-14
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
matrix:
1010
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners
11-
os: [ubuntu-latest, macos-13, macos-14, macos-15]
11+
os: [ubuntu-latest, macos-14, macos-15, macos-15-intel]
1212
fail-fast: false
1313
runs-on: ${{ matrix.os }}
1414
permissions:
@@ -28,15 +28,15 @@ jobs:
2828
set -x
2929
3030
# test `nix develop`
31-
nix develop .# --command -- bash -c "solc-0.8.31 --version"
31+
nix develop .# --command -- bash -c "solc-0.8.33 --version"
3232
3333
# test `nix shell`
3434
nix shell .#solc_0_8_19
3535
3636
# test solc.nix as input to other flakes
3737
# Note: overriding flake input is needed as a workaround to local sub flake with overlapping paths.
3838
nix develop ./test/.# --override-input solc $PWD --command -- bash -c "solc --version"
39-
nix develop ./test/.# --override-input solc $PWD --command -- bash -c "solc-0.8.31 --version"
39+
nix develop ./test/.# --override-input solc $PWD --command -- bash -c "solc-0.8.33 --version"
4040
ci-check-success:
4141
needs: [ci]
4242
runs-on: ubuntu-latest

flake.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
flake-utils.url = "github:numtide/flake-utils";
77
solc-macos-amd64-list-json = {
88
# Go to https://github.com/argotorg/solc-bin/blob/gh-pages/macosx-amd64/list.json to obtain a revision
9-
url = "file+https://github.com/argotorg/solc-bin/raw/0c6f116/macosx-amd64/list.json";
9+
url = "file+https://github.com/argotorg/solc-bin/raw/a11f1ad/macosx-amd64/list.json";
1010
flake = false;
1111
};
1212
};
@@ -38,7 +38,7 @@
3838
in
3939
{
4040
# default shell with the latest solc compiler
41-
devShells.default = pkgs.mkShell { buildInputs = [ pkgs.solc_0_8_31 ]; };
41+
devShells.default = pkgs.mkShell { buildInputs = [ pkgs.solc_0_8_33 ]; };
4242

4343
# export all solc packages
4444
packages = pkgs.solcPackages;

solc-listing.nix

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
11
[ # DO NOT MODIFY! AUTO GENERATED BY ./utils/create-listing.sh
2+
{
3+
version = "0.8.33";
4+
sha256 = {
5+
solc-static-linux = "sha256-EnTlxGIa5HgJDFofSEZv08X2WO2eFLFaCyE9yAYhVGg=";
6+
solc-macos-amd64 = "sha256-gyQoBZHOOY1+JyKEa8EOzxd5sToyjvl7aHySzZxwgBo=";
7+
solc-macos-aarch64 = "sha256-gyQoBZHOOY1+JyKEa8EOzxd5sToyjvl7aHySzZxwgBo=";
8+
};
9+
}
10+
{
11+
version = "0.8.32";
12+
sha256 = {
13+
solc-static-linux = "sha256-qvx+QJoQtmkBDNkyB0dKQ2T7zL5jUQasCcEs0MtHWhs=";
14+
solc-macos-amd64 = "sha256-X4Z4XrbFCHQPi1eiHKz+cPlfxpUOMMq1aKoNSu+YTjE=";
15+
solc-macos-aarch64 = "sha256-X4Z4XrbFCHQPi1eiHKz+cPlfxpUOMMq1aKoNSu+YTjE=";
16+
};
17+
}
218
{
319
version = "0.8.31";
420
sha256 = {

test/flake.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,15 @@
3636
mkShell {
3737
buildInputs =
3838
[
39-
solc_0_8_31
40-
(solc.mkDefault pkgs solc_0_8_31)
39+
solc_0_8_33
40+
(solc.mkDefault pkgs solc_0_8_33)
4141
]
4242
++ (
4343
if system == "x86_64-linux" then
4444
[
4545
solc_0_4_11
4646
solc_0_7_6
47+
solc_0_8_33
4748
]
4849
else if system == "x86_64-darwin" then
4950
[

utils/download.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ list_all_versions() {
1212
for i in $(seq 0 17); do echo 0.5."$i"; done
1313
for i in $(seq 0 12); do echo 0.6."$i"; done
1414
for i in $(seq 0 6); do echo 0.7."$i"; done
15-
for i in $(seq 0 31); do echo 0.8."$i"; done
15+
for i in $(seq 0 33); do echo 0.8."$i"; done
1616
}
1717

1818
run_wget() {

0 commit comments

Comments
 (0)