Skip to content

Commit

Permalink
Added ci build
Browse files Browse the repository at this point in the history
Signed-off-by: Fred Dushin <[email protected]>
  • Loading branch information
fadushin committed Dec 18, 2022
1 parent 74c5c26 commit 1bd3caf
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 1 deletion.
50 changes: 50 additions & 0 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#
# Copyright 2022 Fred Dushin <[email protected]>
#
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
#

name: Build and Test

on: [push, pull_request]

jobs:
build-and-test:
runs-on: "ubuntu-20.04"
strategy:
matrix:
otp: ["22", "23", "24"]

steps:
# Setup
- name: "Checkout repo"
uses: actions/checkout@v2
with:
submodules: 'recursive'

- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp }}

# Builder info
- name: "System info"
run: |
echo "**uname:**"
uname -a
echo "**OTP version:**"
cat $(dirname $(which erlc))/../releases/RELEASES || true
- name: "Install deps"
run: |
sudo apt install -y make git
- name: "Build rebar3"
run: |
cd /tmp
git clone https://github.com/erlang/rebar3.git
cd rebar3
./bootstrap
# Build
- name: "Make"
run: PATH="/tmp/rebar3:${PATH}" make
14 changes: 13 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,19 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.5]
## [0.6.0]

### Added
- Added ability to include `<<"Line">>` chunks in BEAM files in generated AVM files
- Added CI build

### Changed
- Changed the `packbeam_api:create` function to take a single map for optional
parameters, instead of coding paramters into function arguments. Previous
versions of the `packbeam_api:create` function that take optional parameters
have been deprecated.

## [0.5.0]

### Added
- Added ability to specify a module name for ordinary (non-BEAM) files (API-only).
Expand Down

0 comments on commit 1bd3caf

Please sign in to comment.