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

Adding release job to CI #132

Merged
merged 13 commits into from
Jan 10, 2025
Merged

Adding release job to CI #132

merged 13 commits into from
Jan 10, 2025

Conversation

erikreinert
Copy link
Member

Overview

This closes #131 which implements a simple CI job to release nightly builds for developers to start using Vorpal.

@erikreinert erikreinert self-assigned this Jan 7, 2025
…aths

- Modified the workflow to run `ls -alh` on `vorpal-dist-arm64-darwin` and `vorpal-dist-x86_64-linux` directories.
- Updated the commented-out section to reflect the new file paths for nightly builds:
  - Changed `vorpal-aarch64-linux/vorpal-aarch64-linux.tar.gz` to `vorpal-dist-arm64-darwin/vorpal-arm64-linux.tar.gz`.
  - Retained `vorpal-dist-x86_64-linux/vorpal-x86_64-linux.tar.gz` path.
- Added `ubuntu-latest-arm64` to the list of runners in the CI workflow.
- Included a command to list all files in the current directory for debugging purposes.
- Corrected the file path in the commented section for the nightly build artifact.
- Added macOS 13 to the matrix of runners in the GitHub Actions workflow.
- Updated architecture detection to handle 'arm64' as 'aarch64' for consistency.
- Adjusted artifact paths and names to reflect the new architecture naming convention.
- Updated commented-out release section to match new architecture paths.
Added a step to the GitHub Actions workflow to list the contents of the 'dist' directory with detailed information before uploading artifacts. This helps in verifying the files present in the distribution directory.
Simplified the logic for detecting the architecture by using `sed` to replace 'arm64' with 'aarch64' directly in the command. This change was applied to both the GitHub Actions workflow and the Makefile to ensure consistency and reduce redundancy.
- Introduced a step to delete existing nightly release and tag.
- Added GitHub release action for nightly builds with specified files.
- Updated extraction and listing of build artifacts for all platforms.
- Removed commented-out code related to previous release process.
The paths for extracting the tar files have been updated to include the correct directory prefixes. This ensures that the files are extracted to the intended locations.
- Changed directory creation from `dist/x86_64-linux` to `dist/x86_64-darwin`.
- Updated tar extraction to use `vorpal-dist-x86_64-darwin/vorpal-x86_64-darwin.tar.gz` for `dist/x86_64-darwin`.
- Uncommented the schedule trigger for the workflow to run at 8 AM daily.
- Updated the condition for the release job to check for scheduled events.
- Simplified directory creation and extraction commands in the release job.
- Re-enabled and updated the build provenance step to use version 2 of the action.

docs: remove placeholder text from README

- Removed unnecessary placeholder text from the README file.
- Remove unnecessary `ls -alh dist` command from the workflow.
- Add `macos-13` and `ubuntu-latest-arm64` to the matrix strategy for additional testing environments.
Commented out macos-13 and ubuntu-latest-arm64 runners from the matrix configuration to streamline the CI process.
@erikreinert erikreinert merged commit 9343ec4 into main Jan 10, 2025
8 checks passed
@erikreinert erikreinert deleted the feature/131-releases branch January 10, 2025 05:03
@erikreinert erikreinert added this to the 0.1.0 milestone Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Releases
1 participant