-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nightly version emudbg 0.2+202403192028-2
- Loading branch information
Showing
3 changed files
with
194 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,193 @@ | ||
name: Build and Test | ||
on: | ||
push: | ||
branches: | ||
- nightly/* | ||
jobs: | ||
current_os: | ||
name: "Current macOS" | ||
runs-on: macos-15 | ||
env: | ||
OS: '15' | ||
BRANCH: ${{ github.ref }} | ||
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.GH_TOKEN }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Bottle formula | ||
run: | | ||
.ci/setup-brew-environment.sh --update | ||
.ci/bottle-formula.sh | ||
git diff Formula/* | tee $(Build.ArtifactStagingDirectory)/git-bottle-sha.diff | ||
- name: Capture bottle and hashe for next job | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: bottles | ||
path: | | ||
git-bottle-sha.diff | ||
*.bottle.json | ||
*.bottle*.tar.gz | ||
previous_os: | ||
name: "Previous macOS" | ||
runs-on: macos-14 | ||
env: | ||
OS: '14' | ||
BRANCH: ${{ github.ref }} | ||
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.GH_TOKEN }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Retrieve previous bottle data | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: bottles | ||
|
||
- name: Bottle formula | ||
run: | | ||
patch -p1 < git-bottle-sha.diff | ||
.ci/setup-brew-environment.sh --update | ||
.ci/bottle-formula.sh | ||
- name: Capture bottles and hashes for next job | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: bottles | ||
path: | | ||
git-bottle-sha.diff | ||
*.bottle.json | ||
*.bottle*.tar.gz | ||
|
||
# win: | ||
# name: "Windows native MSYS2" | ||
# runs-on: windows-latest | ||
# defaults: | ||
# run: | ||
# shell: msys2 {0} | ||
# steps: | ||
# - name: Checkout | ||
# uses: actions/checkout@v4 | ||
# with: | ||
# fetch-depth: 0 | ||
|
||
# - name: Install MSYS2 | ||
# uses: msys2/setup-msys2@v2 | ||
# with: | ||
# msystem: UCRT64 | ||
# update: true | ||
# install: | ||
# git autoconf automake make | ||
# mingw-w64-ucrt-x86_64-gcc mingw-w64-ucrt-x86_64-pkgconf | ||
|
||
# - name: Add ngdevkit repos | ||
# run: | | ||
# echo -e "[ngdevkit]\nSigLevel = Optional TrustAll\nServer = https://dciabrin.net/msys2-ngdevkit/\$arch" >> /etc/pacman.conf | ||
# pacman -Sy | ||
|
||
# - name: Build | ||
# run: ./.github/scripts/build-msys2.sh | ||
|
||
# macos: | ||
# name: "macOS build" | ||
# runs-on: macos-latest | ||
# env: | ||
# BUILD_HOST_PARAMS: "" | ||
# PREFIX: "/usr/local" | ||
# steps: | ||
# - name: Checkout | ||
# uses: actions/checkout@v4 | ||
|
||
# - name: Dependencies | ||
# run: brew install autoconf automake pkg-config | ||
|
||
# - name: Build | ||
# run: ./.github/scripts/build.sh | ||
|
||
|
||
# name: | ||
# trigger: | ||
# - nightly/* | ||
|
||
# jobs: | ||
# - job: current_macos | ||
# timeoutInMinutes: 150 | ||
# displayName: "Bottle for macOS 15 (Sequoia)" | ||
# pool: | ||
# vmImage: 'macos-15' | ||
# steps: | ||
# - script: | | ||
# .ci/setup-brew-environment.sh --update | ||
# .ci/bottle-formula.sh | ||
# displayName: Bottle formula for macOS 15 | ||
# env: | ||
# OS: '15' | ||
# BRANCH: $(Build.SourceBranch) | ||
# HOMEBREW_GITHUB_API_TOKEN: $(HOMEBREW_GITHUB_API_TOKEN) | ||
# - script: | | ||
# cp *.bottle.json *.bottle*.tar.gz $(Build.ArtifactStagingDirectory)/ | ||
# git diff Formula/* | tee $(Build.ArtifactStagingDirectory)/git-bottle-sha.diff | ||
# displayName: Capture bottles and hashes for next job | ||
# - publish: $(Build.ArtifactStagingDirectory) | ||
# artifact: artifact_current_macos | ||
|
||
# - job: previous_macos | ||
# timeoutInMinutes: 150 | ||
# dependsOn: current_macos | ||
# displayName: "Bottle for macOS 14 (Sonoma)" | ||
# pool: | ||
# vmImage: 'macos-14' | ||
# steps: | ||
# - download: current | ||
# artifact: artifact_current_macos | ||
# - script: | | ||
# patch -p1 < $(Pipeline.Workspace)/artifact_current_macos/git-bottle-sha.diff | ||
# displayName: Retrieve hashes from previous job | ||
# - script: | | ||
# .ci/setup-brew-environment.sh --update | ||
# .ci/bottle-formula.sh | ||
# displayName: Bottle formula for macOS 14 | ||
# env: | ||
# OS: '14' | ||
# BRANCH: $(Build.SourceBranch) | ||
# HOMEBREW_GITHUB_API_TOKEN: $(HOMEBREW_GITHUB_API_TOKEN) | ||
# - script: | | ||
# cp $(Pipeline.Workspace)/artifact_current_macos/*.bottle.* $PWD/ | ||
# cp *.bottle.json *.bottle*.tar.gz $(Build.ArtifactStagingDirectory)/ | ||
# git diff Formula/* | tee $(Build.ArtifactStagingDirectory)/git-bottle-sha.diff | ||
# displayName: Capture bottles and hashes for next job | ||
# - publish: $(Build.ArtifactStagingDirectory) | ||
# artifact: artifact_previous_macos | ||
|
||
# # - job: publish | ||
# # dependsOn: previous_macos | ||
# # displayName: "Publish new version and bottles" | ||
# # pool: | ||
# # vmImage: 'macOS-15' | ||
# # steps: | ||
# # - checkout: self | ||
# # persistCredentials: true | ||
# # - download: current | ||
# # artifact: artifact_previous_macos | ||
# # - script: | | ||
# # cp $(Pipeline.Workspace)/artifact_previous_macos/*.bottle.* $PWD/ | ||
# # patch -p1 < $(Pipeline.Workspace)/artifact_previous_macos/git-bottle-sha.diff | ||
# # displayName: Retrieve bottles and hashes from previous job | ||
# # # Publishing the new version prior to the bottles, because | ||
# # # the bottle are bundled in a github archive which comes | ||
# # # with a new tag in the git repo. So all the patches must be | ||
# # # prior to the bottles. | ||
# # # Until bottles are published, there's a small time window | ||
# # # where 'brew install <pkg>' won't find bottles and rebuild | ||
# # # from source. The inconvenience is assumed to be minimal. | ||
# # - script: | | ||
# # .ci/setup-brew-environment.sh | ||
# # .ci/publish-new-formula-version.sh | ||
# # .ci/publish-new-formula-bottles.sh | ||
# # displayName: Pubish Formula version and bottles | ||
# # env: | ||
# # BRANCH: $(Build.SourceBranch) | ||
# # HOMEBREW_GITHUB_API_TOKEN: $(HOMEBREW_GITHUB_API_TOKEN) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.