Skip to content

Instantly share code, notes, and snippets.

being better

Allan C. M. Lira acmlira

being better
View GitHub Profile
acmlira /
Created Aug 13, 2020
Cross-compiling CMake project with Docker

Docker basics: cross-compiling a CMake project

In this article you will understand how I built my own cross-compile tool for my CMake project for Linux systems with Docker. Obviously, you will need:

  1. Docker installed;
  2. Some CMake project. Let's start!

Describing our image

Docker is a powerful tool of OS virtualization to deliver software in packages called containers. These containers are stored in the form of images (that can be distributed). Let's take advantage of these possibilities in cool project starting with Docker descriptor file, the Dockerfile. You can put this file at the aside of your project:

acmlira /
Last active Jul 21, 2020
Java CI with Maven article text

Creating Java CI with Maven

with GitHub Actions

In recent years, tools like Travis CI and CircleCI have set out to solve the problem behind the CI/CD building. Often confusing for devs who had to switch sites again and again, these tools created the need to be added to the repository page. Since 2019, GitHub Actions has support for CI/CD and now makes it easier to automate how we build, test, and deploy our projects. In this tutorial, we are going to build a CI/CD pipeline to deploy a Java application with TotalCross but you can use into your favorite framework/vanilla project. It's quite generic.

GitHub Actions CI/CD banner

TotalCross is a cross-platform free open source GUI creator and will be very helpful for us in this tutorial. How about starting in just 8 minutes? [See more about TotalCross](https://totalcross.c

acmlira / ci.yml
Created Jul 20, 2020
Java CI with Maven code snippet
View ci.yml
name: Java CI with Maven
branches: [ master ]
branches: [ master ]
You can’t perform that action at this time.