Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Netbsd fix? Probably not... #771

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .github/workflows/netbsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,18 @@ jobs:
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
# TODO: disabled for now because freezes with no output for some reason.
# Started happening in #562, so it has something to do with self-hosted compiler.
#
with:
fetch-depth: 0 # Fetch the whole Git history
# TODO: don't use an action for this? could we instead install qemu from apt and call it?
- if: false
uses: cross-platform-actions/[email protected]
- uses: cross-platform-actions/[email protected]
env:
PKG_PATH: 'https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/10.0/All'
with:
operating_system: netbsd
version: '10.0'
environment_variables: PKG_PATH
run: |
sudo pkgin -y install clang libLLVM gmake diffutils && \
sudo pkgin -y install clang libLLVM gmake diffutils git && \
gmake && \
./runtests.sh --verbose --stage1 && \
./runtests.sh --verbose --stage2 && \
Expand Down
4 changes: 2 additions & 2 deletions bootstrap.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# The Jou compiler is written in Jou, but it doesn't help you very much if you
# have nothing that can compile or run Jou code. That's why this script exists.
Expand Down Expand Up @@ -78,7 +78,7 @@ for i in ${!commits[@]}; do

folder=$(folder_of_commit $i)
rm -rf $folder
mkdir -vp $folder
mkdir -p $folder

# This seems to be the best way to checkout a commit into a folder.
git archive --format=tar $commit | (cd $folder && tar xf -)
Expand Down
Loading