File tree Expand file tree Collapse file tree 4 files changed +17
-8
lines changed Expand file tree Collapse file tree 4 files changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -96,3 +96,5 @@ rustflags = [
96
96
97
97
[http ]
98
98
check-revoke = false
99
+
100
+ [env ]
Original file line number Diff line number Diff line change 19
19
20
20
jobs :
21
21
run-command :
22
- runs-on : macos -latest
22
+ runs-on : ubuntu -latest
23
23
steps :
24
+ - name : Free Disk Space (Ubuntu)
25
+ uses : jlumbroso/free-disk-space@main
26
+ with :
27
+ tool-cache : true
28
+
24
29
- uses : actions/checkout@v4
25
-
30
+
26
31
- name : Install Nix
27
32
uses : DeterminateSystems/nix-installer-action@main
28
-
33
+
29
34
- name : Enable Nix Flakes
30
35
run : |
31
36
mkdir -p ~/.config/nix
32
37
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
33
-
38
+
34
39
- name : Run Command in Nix Shell
35
40
run : |
36
41
echo "Running command: ${{ inputs.command }}"
Original file line number Diff line number Diff line change 12
12
# cargo checks and tests
13
13
- cargo check --all-targets
14
14
- cargo test
15
-
15
+
16
16
with :
17
17
command : ${{ matrix.command }}
18
18
nix_flake_path : ' .'
Original file line number Diff line number Diff line change 62
62
bzip2
63
63
elfutils
64
64
jemalloc
65
- glibc
66
65
] ;
67
66
68
67
testDependencies = with pkgs ; [
91
90
docker-build = pkgs . mkShell {
92
91
ROCKSDB = pkgs . rocksdb ;
93
92
OPENSSL_DEV = pkgs . openssl . dev ;
94
-
93
+
94
+ hardeningDisable = [ "fortify" ] ;
95
+
95
96
buildInputs = with pkgs ; [
96
97
# rust toolchain
97
98
( toolchain pkgs )
101
102
102
103
shellHook = ''
103
104
#!/usr/bin/env ${ pkgs . bash }
105
+
104
106
# Export linker flags if on Darwin (macOS)
105
107
if [[ "$(${ pkgs . stdenv . hostPlatform . system } )" =~ "darwin" ]]; then
106
108
export LDFLAGS="-L/opt/homebrew/opt/zlib/lib"
121
123
MOVEMENT => MAPTOS
122
124
EOF
123
125
124
- echo "Migrates Movement to Maptos ."
126
+ echo "Migrates Movement to Movement Aptos ."
125
127
'' ;
126
128
} ;
127
129
} ;
You can’t perform that action at this time.
0 commit comments