@@ -17,30 +17,55 @@ jobs:
17
17
fail-fast : false
18
18
matrix :
19
19
example : [stm32-blink]
20
- swift : [swift-DEVELOPMENT-SNAPSHOT-2025-03-04-a]
21
20
22
21
steps :
23
- - name : Checkout repo
24
- uses : actions/checkout@v4
22
+ # - name: Checkout repo
23
+ # uses: actions/checkout@v4
25
24
26
- - name : Set up Python
27
- uses : actions/setup-python@v5
25
+ # - name: Set up Python
26
+ # uses: actions/setup-python@v5
27
+ # with:
28
+ # python-version: 3.11
29
+
30
+ # - name: Install uv
31
+ # uses: astral-sh/setup-uv@v5
32
+
33
+ - name : Install Swift
34
+ uses : ./.github/actions/install-swift
28
35
with :
29
- python-version : 3.11
30
-
31
- - name : Install uv
32
- uses : astral-sh/setup-uv@v5
33
-
34
- - name : Install ${{ matrix.swift }}
35
- run : |
36
- wget -q https://download.swift.org/development/ubuntu2404/${{ matrix.swift }}/${{ matrix.swift }}-ubuntu24.04.tar.gz
37
- tar xzf ${{ matrix.swift }}-ubuntu24.04.tar.gz
38
- export PATH="`pwd`/${{ matrix.swift }}-ubuntu24.04/usr/bin/:$PATH"
39
- echo "PATH=$PATH" >> $GITHUB_ENV
40
- swiftc --version
41
-
42
- - name : Build ${{ matrix.example }}
43
- working-directory : ${{ matrix.example }}
44
- run : |
45
- export STM_BOARD=STM32F746G_DISCOVERY
46
- ./build-elf.sh
36
+ who-to-greet : ' Mona the Octocat'
37
+
38
+ # - name: Install apt dependencies
39
+ # run: apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -qq -y install curl gpg binutils git unzip gnupg2 libc6-dev libcurl4-openssl-dev libedit2 libgcc-13-dev libpython3-dev libstdc++-13-dev libxml2-dev libncurses-dev libz3-dev pkg-config tzdata zlib1g-dev
40
+
41
+ # - name: Install Swiftly
42
+ # run: |
43
+ # curl -O "https://download.swift.org/swiftly/linux/swiftly-$(uname -m).tar.gz"
44
+ # tar zxf "swiftly-$(uname -m).tar.gz"
45
+ # ./swiftly init --skip-install --assume-yes
46
+
47
+ # export SWIFTLY_HOME_DIR="$HOME/.local/share/swiftly"
48
+ # echo "SWIFTLY_HOME_DIR=$SWIFTLY_HOME_DIR" >> $GITHUB_ENV
49
+
50
+ # export SWIFTLY_BIN_DIR="$HOME/.local/share/swiftly/bin"
51
+ # echo "SWIFTLY_BIN_DIR=$SWIFTLY_BIN_DIR" >> $GITHUB_ENV
52
+
53
+ # export PATH="$SWIFTLY_BIN_DIR:$PATH"
54
+ # echo "PATH=$PATH" >> $GITHUB_ENV
55
+
56
+ # - name: Install Swift
57
+ # run: |
58
+ # set -ex
59
+ # ls /root/.local/share/swiftly/bin
60
+ # echo $PATH
61
+ # echo which swiftly
62
+ # which swiftly
63
+
64
+ # swiftly install
65
+ # swift --version
66
+
67
+ # - name: Build ${{ matrix.example }}
68
+ # working-directory: ${{ matrix.example }}
69
+ # run: |
70
+ # export STM_BOARD=STM32F746G_DISCOVERY
71
+ # ./build-elf.sh
0 commit comments