Skip to content

Commit

Permalink
Fix CI issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tgotwig committed Nov 28, 2023
1 parent 2d80527 commit 7dae100
Showing 1 changed file with 43 additions and 35 deletions.
78 changes: 43 additions & 35 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,46 +14,54 @@ jobs:
uses: actions/checkout@v2
- name: 🕵️ Run linter
run: cargo clippy
MacOS:
name: 🍎 MacOS
runs-on: macos-latest
steps:
- name: 🚀 actions/checkout@v2
uses: actions/checkout@v2
# MacOS:
# name: 🍎 MacOS
# runs-on: macos-latest
# steps:
# - name: 🚀 actions/checkout@v2
# uses: actions/checkout@v2

- name: ⬇ Install yt-dlp
run: |
wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O yt-dlp
chmod a+rx yt-dlp
echo "$(pwd)" >> $GITHUB_PATH
# - name: ⬇ Install yt-dlp
# run: |
# wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O yt-dlp
# chmod a+rx yt-dlp
# echo "$(pwd)" >> $GITHUB_PATH

- name: ⬇️ Install ffmpeg
run: |
wget https://evermeet.cx/ffmpeg/get/zip -qO ffmpeg.zip
unzip ffmpeg.zip
# - name: ⬇️ Install ffmpeg
# run: |
# wget https://evermeet.cx/ffmpeg/get/zip -qO ffmpeg.zip
# unzip ffmpeg.zip

- name: 🕵️ Run tests
run: task test
Ubuntu:
runs-on: ubuntu-latest
name: 🐧 Ubuntu
steps:
- name: 🚀 actions/checkout@v2
uses: actions/checkout@v2
# - name: ⬇️ Install task
# run: brew install go-task/tap/go-task

- name: ⬇️ Install yt-dlp
run: |
wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O yt-dlp
chmod a+rx yt-dlp
echo "$(pwd)" >> $GITHUB_PATH
# - name: 🕵️ Run tests
# run: task test
# Ubuntu:
# runs-on: ubuntu-latest
# name: 🐧 Ubuntu
# steps:
# - name: 🚀 actions/checkout@v2
# uses: actions/checkout@v2

- name: ⬇️ Install ffmpeg
run: sudo apt install -y ffmpeg
# - name: ⬇️ Install yt-dlp
# run: |
# wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O yt-dlp
# chmod a+rx yt-dlp
# echo "$(pwd)" >> $GITHUB_PATH

- name: 🕵️ Run tests
run: task test
# - name: ⬇️ Install ffmpeg
# run: sudo apt install -y ffmpeg

# - name: ⬇️ Install task
# run: |
# curl -sL "https://github.com/go-task/task/releases/download/v3.9.0/task_linux_amd64.tar.gz" | tar xz
# sudo mv task /usr/local/bin

# - name: 🕵️ Run tests
# run: task test
Windows:
runs-on: self-hosted
runs-on: windows-latest
name: 🏳️‍🌈 Windows
steps:
- name: 🚀 actions/checkout@v2
Expand All @@ -63,8 +71,8 @@ jobs:
uses: crazy-max/ghaction-chocolatey@v1
with:
args: -h
- name: ⬇️ Install task # TODO - test this
uses: ilammy/ghaction-task@v1
- name: ⬇️ Install task
run: choco install go-task

- name: ⬇️ Install yt-dlp
run: choco install yt-dlp
Expand Down

0 comments on commit 7dae100

Please sign in to comment.