File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,10 +12,40 @@ jobs:
1212 - uses : actions/checkout@v4
1313 with :
1414 submodules : true
15+ - name : Workaround for sources.list
16+ run : |
17+ set -euxo pipefail
18+
19+ apt-cache policy
20+ grep -RInE '^(deb|Types|URIs)' /etc/apt || true
21+
22+ shopt -s nullglob
23+
24+ sudo sed -i \
25+ -e "s|https\?://azure\.archive\.ubuntu\.com/ubuntu/?|https://mirror.arizona.edu/ubuntu/|g" \
26+ /etc/apt/sources.list || true
27+
28+ for f in /etc/apt/sources.list.d/*.list; do
29+ sudo sed -i \
30+ -e "s|https\?://azure\.archive\.ubuntu\.com/ubuntu/?|https://mirror.arizona.edu/ubuntu/|g" \
31+ "$f"
32+ done
33+
34+ for f in /etc/apt/sources.list.d/*.sources; do
35+ sudo sed -i \
36+ -e "s|https\?://azure\.archive\.ubuntu\.com/ubuntu/?|https://mirror.arizona.edu/ubuntu/|g" \
37+ -e "s|https\?://azure\.archive\.ubuntu\.com|https://mirror.arizona.edu|g" \
38+ "$f"
39+ done
40+
41+ if grep -qE '^[[:space:]]*https?://azure\.archive\.ubuntu\.com/ubuntu/?' /etc/apt/apt-mirrors.txt; then
42+ sudo sed -i 's|https\?://azure\.archive\.ubuntu\.com/ubuntu/|https://mirror.arizona.edu/ubuntu/|g' /etc/apt/apt-mirrors.txt
43+ fi
1544 - name : install req
1645 run : |
17- sudo apt-get update
18- sudo apt-get install --no-install-recommends -y -q nasm gcc-multilib
46+ export DEBIAN_FRONTEND=noninteractive
47+ sudo apt-get update -o Acquire::Retries=3
48+ sudo apt-get install --no-install-recommends -y -q -o Acquire::Retries=3 nasm gcc-multilib
1949 - name : setup git
2050 run : |
2151 git config --global user.email "you@example.com"
Original file line number Diff line number Diff line change 66 pull_request :
77 branches : [ '*' ]
88
9+ permissions :
10+ contents : read
11+ packages : read
12+
913jobs :
1014 renode_automated_fastmath_smallstack :
1115 runs-on : ubuntu-22.04
1519 with :
1620 submodules : true
1721
22+ - name : Log in to GHCR
23+ uses : docker/login-action@v3
24+ with :
25+ registry : ghcr.io
26+ username : ${{ github.actor }}
27+ password : ${{ secrets.GITHUB_TOKEN }}
28+
1829 - name : Select config
1930 run : |
2031 cp config/examples/nrf52840.config .config && make include/target.h
7081 with :
7182 name : Renode Test Results
7283 path : test_results/
73-
Original file line number Diff line number Diff line change 66 pull_request :
77 branches : [ '*' ]
88
9+ permissions :
10+ contents : read
11+ packages : read
12+
913jobs :
1014 renode_automated_fastmath :
1115 runs-on : ubuntu-22.04
1620 with :
1721 submodules : true
1822
23+ - name : Log in to GHCR
24+ uses : docker/login-action@v3
25+ with :
26+ registry : ghcr.io
27+ username : ${{ github.actor }}
28+ password : ${{ secrets.GITHUB_TOKEN }}
29+
1930 - name : Select config
2031 run : |
2132 cp config/examples/nrf52840.config .config && make include/target.h
Original file line number Diff line number Diff line change 66 pull_request :
77 branches : [ '*' ]
88
9+ permissions :
10+ contents : read
11+ packages : read
12+
913jobs :
1014 renode_automated_noasm_smallstack :
1115 runs-on : ubuntu-22.04
1620 with :
1721 submodules : true
1822
23+ - name : Log in to GHCR
24+ uses : docker/login-action@v3
25+ with :
26+ registry : ghcr.io
27+ username : ${{ github.actor }}
28+ password : ${{ secrets.GITHUB_TOKEN }}
29+
1930 - name : Select config
2031 run : |
2132 cp config/examples/nrf52840.config .config && make include/target.h
7182 with :
7283 name : Renode Test Results
7384 path : test_results/
74-
Original file line number Diff line number Diff line change 66 pull_request :
77 branches : [ '*' ]
88
9+ permissions :
10+ contents : read
11+ packages : read
12+
913jobs :
1014 renode_automated_noasm :
1115 runs-on : ubuntu-22.04
1620 with :
1721 submodules : true
1822
23+ - name : Log in to GHCR
24+ uses : docker/login-action@v3
25+ with :
26+ registry : ghcr.io
27+ username : ${{ github.actor }}
28+ password : ${{ secrets.GITHUB_TOKEN }}
29+
1930 - name : Select config
2031 run : |
2132 cp config/examples/nrf52840.config .config && make include/target.h
8091 with :
8192 name : Renode Test Results
8293 path : test_results/
83-
Original file line number Diff line number Diff line change 66 pull_request :
77 branches : [ '*' ]
88
9+ permissions :
10+ contents : read
11+ packages : read
12+
913jobs :
1014 renode_automated_base :
1115 runs-on : ubuntu-22.04
1620 with :
1721 submodules : true
1822
23+ - name : Log in to GHCR
24+ uses : docker/login-action@v3
25+ with :
26+ registry : ghcr.io
27+ username : ${{ github.actor }}
28+ password : ${{ secrets.GITHUB_TOKEN }}
29+
1930 - name : Select config
2031 run : |
2132 cp config/examples/nrf52840.config .config && make include/target.h SIGN=NONE
8495 with :
8596 name : Renode Test Results
8697 path : test_results/
87-
Original file line number Diff line number Diff line change 66 pull_request :
77 branches : [ '*' ]
88
9+ permissions :
10+ contents : read
11+ packages : read
12+
913jobs :
1014 renode_automated_multi_sha :
1115 runs-on : ubuntu-22.04
1620 with :
1721 submodules : true
1822
23+ - name : Log in to GHCR
24+ uses : docker/login-action@v3
25+ with :
26+ registry : ghcr.io
27+ username : ${{ github.actor }}
28+ password : ${{ secrets.GITHUB_TOKEN }}
29+
1930 - name : Select config
2031 run : |
2132 cp config/examples/nrf52840.config .config && make include/target.h
Original file line number Diff line number Diff line change 66 pull_request :
77 branches : [ '*' ]
88
9+ permissions :
10+ contents : read
11+ packages : read
12+
913jobs :
1014 renode_automated_multi_sha :
1115 runs-on : ubuntu-22.04
1620 with :
1721 submodules : true
1822
23+ - name : Log in to GHCR
24+ uses : docker/login-action@v3
25+ with :
26+ registry : ghcr.io
27+ username : ${{ github.actor }}
28+ password : ${{ secrets.GITHUB_TOKEN }}
29+
1930 - name : Select config
2031 run : |
2132 cp config/examples/nrf52840.config .config && make include/target.h
6879 with :
6980 name : Renode Test Results
7081 path : test_results/
71-
Original file line number Diff line number Diff line change 66 pull_request :
77 branches : [ '*' ]
88
9+ permissions :
10+ contents : read
11+ packages : read
12+
913jobs :
1014 renode_automated_smallstack :
1115 runs-on : ubuntu-22.04
1620 with :
1721 submodules : true
1822
23+ - name : Log in to GHCR
24+ uses : docker/login-action@v3
25+ with :
26+ registry : ghcr.io
27+ username : ${{ github.actor }}
28+ password : ${{ secrets.GITHUB_TOKEN }}
29+
1930 - name : Select config
2031 run : |
2132 cp config/examples/nrf52840.config .config && make include/target.h
8697 with :
8798 name : Renode Test Results
8899 path : test_results/
89-
Original file line number Diff line number Diff line change @@ -12,10 +12,40 @@ jobs:
1212 - uses : actions/checkout@v4
1313 with :
1414 submodules : true
15+ - name : Workaround for sources.list
16+ run : |
17+ set -euxo pipefail
18+
19+ apt-cache policy
20+ grep -RInE '^(deb|Types|URIs)' /etc/apt || true
21+
22+ shopt -s nullglob
23+
24+ sudo sed -i \
25+ -e "s|https\?://azure\.archive\.ubuntu\.com/ubuntu/?|https://mirror.arizona.edu/ubuntu/|g" \
26+ /etc/apt/sources.list || true
27+
28+ for f in /etc/apt/sources.list.d/*.list; do
29+ sudo sed -i \
30+ -e "s|https\?://azure\.archive\.ubuntu\.com/ubuntu/?|https://mirror.arizona.edu/ubuntu/|g" \
31+ "$f"
32+ done
33+
34+ for f in /etc/apt/sources.list.d/*.sources; do
35+ sudo sed -i \
36+ -e "s|https\?://azure\.archive\.ubuntu\.com/ubuntu/?|https://mirror.arizona.edu/ubuntu/|g" \
37+ -e "s|https\?://azure\.archive\.ubuntu\.com|https://mirror.arizona.edu|g" \
38+ "$f"
39+ done
40+
41+ if grep -qE '^[[:space:]]*https?://azure\.archive\.ubuntu\.com/ubuntu/?' /etc/apt/apt-mirrors.txt; then
42+ sudo sed -i 's|https\?://azure\.archive\.ubuntu\.com/ubuntu/|https://mirror.arizona.edu/ubuntu/|g' /etc/apt/apt-mirrors.txt
43+ fi
1544 - name : install req
1645 run : |
17- sudo apt-get update
18- sudo apt-get install --no-install-recommends -y -q nasm gcc-multilib qemu-system-x86 swtpm uuid-dev
46+ export DEBIAN_FRONTEND=noninteractive
47+ sudo apt-get update -o Acquire::Retries=3
48+ sudo apt-get install --no-install-recommends -y -q -o Acquire::Retries=3 nasm gcc-multilib qemu-system-x86 swtpm uuid-dev
1949 - name : setup git
2050 run : |
2151 git config --global user.email "you@example.com"
You can’t perform that action at this time.
0 commit comments