Skip to content

Commit d31fab3

Browse files
authored
Try apt-fast in edge-build.yml
1 parent 40ee761 commit d31fab3

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

.github/workflows/edge-build.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,20 @@ jobs:
4949
echo "ref=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
5050
git config --global --add safe.directory /__w/Carbon/Carbon
5151
52-
- name: MinGW Install
53-
uses: tecolicom/actions-use-apt-tools@v1.6
54-
with:
55-
tools: mingw-w64
52+
- name: apt-fast Setup
53+
shell: bash
54+
run: |
55+
curl -fsSL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xBC5934FD3DEBD4DAEA544F791E2824A7F22B44BD" | gpg --dearmor -o /etc/apt/keyrings/apt-fast.gpg
56+
echo "deb [signed-by=/etc/apt/keyrings/apt-fast.gpg] http://ppa.launchpad.net/apt-fast/stable/ubuntu focal main" > /etc/apt/sources.list.d/apt-fast.list
57+
apt update
58+
apt install -y apt-fast
5659
57-
- name: MinGW Confirmation
60+
- name: MinGW Setup
5861
shell: bash
5962
run: |
63+
apt update
64+
apt-fast install -y mingw-w64
65+
6066
which x86_64-w64-mingw32-dlltool || echo "dlltool not found"
6167
x86_64-w64-mingw32-dlltool --version
6268

0 commit comments

Comments
 (0)