|
9 | 9 | run: sudo apt-get install -y gcc-aarch64-linux-gnu
|
10 | 10 |
|
11 | 11 | - name: Set-up aarch64 cross-compilation
|
12 |
| - shell: bash |
| 12 | + shell: bash --noprofile --norc -e {0} |
13 | 13 | run: |
|
14 | 14 | mkdir -p $HOME/.ldc/
|
15 |
| - - name: Set-up aarch64 cross-compilation |
16 |
| - shell: bash |
17 |
| - run: | |
18 |
| - ldc2 --version |
19 |
| - - name: Set-up aarch64 cross-compilation |
20 |
| - shell: bash |
21 |
| - run: | |
22 |
| - ldc2 --version |
23 |
| - - name: Set-up aarch64 cross-compilation |
24 |
| - shell: bash |
25 |
| - run: | |
26 |
| - ldc2 --version |
27 |
| - - name: Set-up aarch64 cross-compilation |
28 |
| - shell: bash |
29 |
| - run: | |
30 |
| - ldc2 --version |
31 |
| - - name: Set-up aarch64 cross-compilation |
32 |
| - shell: bash |
33 |
| - run: | |
34 |
| - ldc2 --version |
35 |
| - - name: Set-up aarch64 cross-compilation |
36 |
| - shell: bash |
37 |
| - run: | |
38 |
| - ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*" |
39 |
| - - name: Set-up aarch64 cross-compilation |
40 |
| - shell: bash |
41 |
| - run: | |
42 |
| - ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*" |
43 |
| - - name: Set-up aarch64 cross-compilation |
44 |
| - shell: bash |
45 |
| - run: | |
46 |
| - ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*" |
47 |
| - - name: Set-up aarch64 cross-compilation |
48 |
| - shell: bash |
49 |
| - run: | |
50 |
| - ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*" |
51 |
| - - name: Set-up aarch64 cross-compilation |
52 |
| - shell: bash |
53 |
| - run: | |
54 |
| - LDC_VERSION=$(ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*") |
55 |
| - - name: Set-up aarch64 cross-compilation |
56 |
| - shell: bash |
57 |
| - run: | |
58 |
| - LDC_VERSION=$(ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*") |
59 |
| - - name: Set-up aarch64 cross-compilation |
60 |
| - shell: bash |
61 |
| - run: | |
62 |
| - LDC_VERSION=$(ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*") |
63 |
| - - name: Set-up aarch64 cross-compilation |
64 |
| - shell: bash |
65 |
| - run: | |
66 |
| - LDC_VERSION=$(ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*") |
67 |
| - - name: Set-up aarch64 cross-compilation |
68 |
| - shell: bash |
69 |
| - run: | |
70 | 15 | LDC_VERSION=$(ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*")
|
71 | 16 | cat << EOF | tee $HOME/.ldc/ldc2.conf
|
72 | 17 | "aarch64-.*-linux-gnu":
|
|
83 | 28 | ];
|
84 | 29 | };
|
85 | 30 | EOF
|
86 |
| - - name: Set-up aarch64 cross-compilation |
87 |
| - shell: bash |
88 |
| - run: | |
89 |
| - LDC_VERSION=$(ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*") |
90 | 31 | curl -LO https://github.com/ldc-developers/ldc/releases/download/v$LDC_VERSION/ldc2-$LDC_VERSION-linux-aarch64.tar.xz
|
91 |
| - - name: Set-up aarch64 cross-compilation |
92 |
| - shell: bash |
93 |
| - run: | |
94 |
| - LDC_VERSION=$(ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*") |
95 | 32 | tar -xf ./ldc2-$LDC_VERSION-linux-aarch64.tar.xz -C $HOME
|
0 commit comments